Control Order of javascript loading
maddentim - May 8, 2009 - 22:45
| Project: | SimpleMenu |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have used simplemenu on a site of mine and am pleased with the performance. One thing I have noticed is that for the first load, before the cache on the browser side is created, the menu comes up late in the load. I have read that the browsers load javascript serially instead of parallel as they do for CSS. In looking at Firebug, simplemenu seems to be one of the last to load when since it is a key part of the site presentation. We are only talking about a second here, but it bugs me. This might be something controlled at the drupal level instead of the module, but I thought I would start here.
Thanks

#1
I'm seeing a similar issue on my page. Since SimpleMenu loads last, it is rather jarring from a site presentation viewpoint to have it pop in after the page has just about finished loading. If there is any way to get it to load earlier, I'd love to know about it.