Move JS to bottom for cpg1.5.x Move JS to bottom for cpg1.5.x
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Move JS to bottom for cpg1.5.x

Started by Timos-Welt, June 10, 2010, 04:53:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Timos-Welt

This little plugin moves all javascript parts in the source code of cpg pages to the very bottom of the web pages, just in front of the closing </body> tag. According to this performance comparison, this will make the gallery accessable faster for first time visitors, meaning that the content will be displayed earlier without making the overall loading time shorter. There may be issues if jQuery is used in the source code before the actual framework has been loaded, so test carefully in all browsers if this plugin is for you.


mindphaser2000

Just what I was looking for to my new project, thanx!