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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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!