Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1058680

    I do not use any page caching plugins on the website but have noticed a problem recently.
    (I do use Autoptimize but that does not cache pages or widgets, only optimized JS/ CSS. However, I also run a test site and have deactivated Autoptimize on that site, but the problem still exists. Enfold’s file compression is also turned on.)

    Both Chrome and Firefox seem to do this intermittently. When I load the website I am sometimes served an “old” page, not the latest version.

    See this screenshot: https://imgur.com/a/0L8wng8

    This is the home page as viewed in Firefox at 18:00 hrs, Thursday 24th January. Yet Firefox is serving me a version of the home page from the day before. Look at the date in the header. This is some PHP code that displays the current date – but today on the 24th, Firefox is showing me yesterday’s page.

    There was also a new Top Story added on the 24th, the “New Walking Tour to Highlight Henley’s Brewing Heritage” is no longer on the live site as a Top Story.

    This is 24th’s live home page: https://imgur.com/a/0g2PYsl.

    I’ve experienced the same thing in Chrome so it points to an Enfold-related issue.

    Why am I served old pages and why is Enfold not forcing the browser to reload the latest version of a page?

    #1058898

    Hey zimbo,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1058909

    There are 2 sites, a live one (www) and test/dev site (dev).

    You might need to look at both. For instance, there is a plugin that shows the current & forecast weather, bottom right of the home page.

    On the live site Chrome is showing up-to-date weather info, and today’s date in the header. If I open a new tab then load the test/dev site, it shows yesterday’s date and yesterday’s weather.

    NB. I have been in contact with the weather plugin author and we have verified that the plugin is getting the correct data from their system – their widget retrieves data from a transient, if (transient) data is “old/expired” – new data is retrieved from their system. We have verified that the data in the transient is correct and being updated every 15 minutes. So in the above situation, the plugin transient on the test/dev site has got today’s weather data – you can view the data using the Transients Manager plugin – but Chrome is serving up a cached page from yesterday, not a page with today’s date and weather.

    Loading Firefox today, it is still showing me Wednesday’s page, as per this: https://imgur.com/a/0L8wng8

    #1060172

    Hi zimbo,

    Thank you for clarifying. I checked in FF and Chrome on a Mac and I see today’s date which is Jan 29, I’ll check tomorrow and see if it shows me the correct date.

    Best regards,
    Victoria

    #1060555

    If I launch Firefox today and load the live site, it is still showing me the page from January 23. Obviously if I did a hard cache refresh I’d get today’s actual page but I’m keeping the old cached version until we get to the bottom of this.

    Doing the same with Chrome, I get the true live home page for today.

    What I don’t understand is why something is not telling Firefox that the home page has changed since January 23 and to re-load ‘afresh’.

    #1060682

    Hi,

    Please check the firefox cache settings. Maybe the cache age is set to expire after a long time.
    https://support.mozilla.org/en-US/questions/1232148

    Try checking the site in a new private window from top right. This should give you the latest version of the page.

    Best regards,
    Vinay

    #1061649

    There are over 20 browser.cache settings in about:config for Firefox, none of which says ‘age’. Which one is relevant?

    But as I reported in the original post, the problem has been seen in Chrome as well.

    #1062287

    Hi zimbo,

    https://cl.ly/27106cbcf9a2 I launched the website today and I see today’s date in Chrome on a Mac.

    Please try incognito mode in any browser.

    Best regards,
    Victoria

    #1062290

    What does using incognito mode show/prove?

    #1062492

    Hi,

    Thank you for writing to us.

    As you mentioned ” Chrome is serving up a cached page from yesterday, not a page with today’s date and weather.” using an Incognito mode will load a fresh copy of the site on your system.

    I have attached a screenshot below of what I see on my system.

    If you still have an issue I am afraid you’ll need to contact the plugin author again. Making third-party plugins compatible with the theme is unfortunately beyond the support scope we offer. Sorry for that!

    Best regards,
    Vinay

    #1062740

    This is not a plugin issue. The home page has numerous plugins and elements and my original post mentioned that the date in the header was not being updated – this is just a line of PHP code – and that a recently published news story, served up by Enfold’s Blog Posts element, was not being displayed, but that the posts from the previous day were still being shown, along with the outdated weather, i.e. the browser was loading a cached page from the day before and not the latest content.

    As I wrote in the original support request, and in a follow-up,

    On the live site Chrome is showing up-to-date weather info, and today’s date in the header. If I open a new tab then load the test/dev site, it shows yesterday’s date and yesterday’s weather.
    …and…
    If I launch Firefox today (January 30) and load the live site, it is still showing me the page from January 23.

    Despite multiple re-starts of both PC and both browsers, that situation endured for over a week. Neither browser would refresh correctly on its own, as it should.

    Over the weekend however, without doing a hard cache refresh, the latest content is being shown by both browsers on both live and test sites. I have not changed anything but something has finally caused ‘normal service’. But I guess we’ll never found out what, as no-one has been able to replicate it or offer any suggestions as to what might be the problem. I will continue to monitor and watch for any re-occurrence.

    #1063314

    Hi zimbo,

    Glad it’s working for now and yes, we could not reproduce the issue on our machines. I strongly believe it was a browser caching issue.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1203123

    Hi, I noticed the same problem on my site with Firefox Desktop only. As soon as a cookie is set, pages will not reload to the latest saved version anymore. I tried everything to get rid of that error (opening in private/ikognito loads the latest version, deleting cookies does the job as well), like reducing cache time to 30 minutes on cloudflare, etc. etc.) and changed almost every setting in the theme – no change. Only force reloads will bring the proper site once, but not on revistig any page thereafter
    it doesn’t seem to be a caching issue , but a timestamp error (i did enable/disable in theme settings – no change for good on firefox desktop mac and windows) … I found a fix for the same problem fo Safari (Desktop/Mac) by changing the homepage adress on the header logo from https to http ….
    Please take a look into it ..
    Sincerely nine2ten

    #1205335

    Hi,

    @nine2ten
    sorry for the late reply, I see that you also have your own thread with this same topic. Let’s continue there so we can use the Private Content area.

    Best regards,
    Mike

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Page / browser caching problem’ is closed to new replies.