forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Timos-Welt on June 10, 2010, 04:53:16 pm

Title: Move JS to bottom for cpg1.5.x
Post by: Timos-Welt on June 10, 2010, 04:53:16 pm
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 (http://stevesouders.com/hpws/move-scripts.php), 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.

Title: Re: Move JS to bottom for cpg1.5.x
Post by: mindphaser2000 on April 05, 2012, 08:59:31 pm
Just what I was looking for to my new project, thanx!