[ Video Sharing CMS v4 ] why so many ls links at footer?

Started by dtiberio,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dtiberioTopic starter

in this template: main/tpl.globals.php

at the bottom, right before it generates the footer, there are a large number of javascript links.

I don't understand why you have so many javascript links, to large files, right at the footer of the page. wouldn't that make them unusable? don't javascript links have to be higher up in the page so they can be referenced in the HTML?
  •  

PHPVibe A.

Here you are wrong, js files are better loaded in the footer to not mess the website loading.
You can read around about it http://stackoverflow.com/questions/5329807/benefits-of-loading-js-at-the-bottom-as-opposed-to-the-top-of-the-document

Similar topics (7)