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
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

lotusflwr - May 27, 2009 - 02:57
Version:5.x-1.0» 6.x-1.2

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.

 
 

Drupal is a registered trademark of Dries Buytaert.