Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Move JS to bottom for cpg1.5.x  (Read 8270 times)

0 Members and 1 Guest are viewing this topic.

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Move JS to bottom for cpg1.5.x
« 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, 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.

Logged

mindphaser2000

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 2
    • Webbutveckling Blekinge
Re: Move JS to bottom for cpg1.5.x
« Reply #1 on: April 05, 2012, 08:59:31 pm »

Just what I was looking for to my new project, thanx!
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.