• Resolved LinwoodF

    (@linwoodf)


    The code in camera.js (which runs from plugins.js) explicitly puts a timestamp on the query string for loading the slider images. This defeats browser caching for them, and if they represent large, full-screen images, this can be quite a slow down for refreshing the site (e.g. if the slider is on multiple pages, or returning to the home page).

    The code is easily fixed (remove the addition of getTime() to the URL), but buried and hard coded, as though it is there for good reason.

    Is there a good reason? Should this be simply removed?

    The non-minified version looks like this:

    imgLoaded.src = imgUrl +"?"+ new Date().getTime();

    in two places (this is the free version, not sure if it’s the same in any paid version).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks for your contribution, i will look into this issue.

    Regards

    Is there news about this topic? I have a problem also, that the slider appearing takes so long time. Or maybe anyone knows what is the recommended picture size for the slider?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slider cache defeated – slow for large photos’ is closed to new replies.