Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Serhii Pasyuk

    (@pasyuk)

    you can add this code in page template (in header.php):

    <meta http-equiv="cache-control" content="max-age=0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
    <meta http-equiv="pragma" content="no-cache" />

    Thread Starter pmeswani

    (@pmeswani)

    Thanks Rattus. Is there anywhere specific where I need to add the code in order for it to work? I have tried it in a couple of places and it hasn’t made any difference.

    Plugin Author Serhii Pasyuk

    (@pasyuk)

    <meta> tags always goes inside the <head> element.
    https://www.w3schools.com/tags/tag_meta.asp

    Open theme’s header.php file and add code right after <head> tag.
    In this way all your pages will not be cached. I recommend you to create page template with name No-Cache and use it for pages you wan’t be cached.

    I also need to continuously update the photos on the website but am not familiar with coding, which is why I use WP with plug-ins, etc. I looked at the above and tried a few things with no luck.

    The gallery is on my client’s site at https://www.RIYC.net. If I can get it to work properly on this site, I’ll be using it on others. Any help you can give me would be greatly appreciated.

    BTW, I love that a training video was created and wish it had been updated so it was easier to understand. It took hours for me just to get the plug-in to work simply because the video was outdated. Do you have an updated training video?

    Thank you for all your help!

    Nita

    Thread Starter pmeswani

    (@pmeswani)

    nitahelpinengland, you will also need to update the .htaccess with some similar code. I found the .htaccess equiv. code by chance on google.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Force reload of images on viewing of gallery’ is closed to new replies.