• Resolved jnhghy

    (@jnhghy)


    Hi,
    On one of my pages I have to import a image that chages on the server under the same name. It’s a graphic that changes depending on the selections that the user makes. My issue is that the browser saves the first image and won’t load it again only if I refresh the page.
    I used ftp to check the image after running the chart script and it’s the right image. From what I remember I played with some server settings to make my pages load faster but I was unable to find any image caching setting. Also I need to add I have no caching plugins.
    If anybody has any info, I’ll be listening
    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Also try to optimize your images if your site is using large number of images. Setting the width and height of the images also makes the browser fast.

    browser cache = .htaccess (or php, but it’s pretty rare. htaccess method is the easiest.)

    you need to set eTag or last modified header to get the browsers update their cache.

    do you using google chrome ? based on my experience, only google chrome have strict browser cache.

    Thread Starter jnhghy

    (@jnhghy)

    @blacklizt thanks for your time, that was the setting :)) I checked my .htaccess and I saw that I’ve set up the cache for images in this file. thank you for the fast answer, have a nice one!
    @krishna thanks for your advice they are already on the schedule but at this point the site moves fast enough and points 1st in google so … I need to handle other issues at this point but will be coming back for this also for sure.
    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘unable to change image due to browser cache’ is closed to new replies.