hi,

in order to speed up my openlayers site i would like to put the javascript tags at the end of the document.

tmcw stated that this was introduced in 2.x

The site does have a pretty heavy load of markers. Moving them to the foot of the document reduces the perceived loading time of the page tremendously, though. One of the biggest performance improvements in 2.x, besides native json encoding

http://drupal.org/node/622720#comment-3049664

i'd like to do so, thanks for your suggestions on how to implement/configure this :)

Comments

zzolo’s picture

Status: Active » Closed (works as designed)

Hey @dasjo. This is dependent on your theme (and not this module), and where it outputs the $scripts variables. Most themes do it in the header, but its actually better at the end of the document.

dasjo’s picture

hook_js_alter allowed me to put necessary scripts to the footer of the page via $page_bottom
http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...

dasjo’s picture

Issue summary: View changes

Updated issue summary.