• Resolved C Green

    (@cgreen177)


    Hi

    I have a fairly new website with an instagram feed and am noticing inconsistent behaviour.

    My client updated his feed yesterday and 11 hours later the website (home and contact page) had not updated. I am using the latest version with WP Fastest Cache.

    Plugin settings are to check for new posts in the background every hour.
    I have Ajax switched off (I don’t believe Lodestar uses Ajax?)
    Image resizing – favor local images is on
    Enable backup caching is ticked
    Force cache to clear on interval is set to Yes.

    I think it might be to do with the scheduler and the site not having very many visitors? I could see on the health check this morning that action_scheduler_run_queue is late to run. I visited the site in a new browser this morning, and that error disappeared. Over the next hour or so the new image started to appear on the pages (contact first and now home).

    Any advice on how I can force the cache to refresh, even if the site has no visitors? Can I add a cron entry instead, for instance? Or is there a plugin setting I can tweak?

    Thanks in advance
    Corrine Green

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Smash Balloon Joel

    (@joelsmashballoon)

    Hey @cgreen177,

    Thank you for reaching out to us for assistance. When using the ‘Check for new posts in the background’ option, it uses Cron to check for new posts at the specified interval. In this case it is most likely an issue of WP Fastest Cache not properly clearing the cache when needed. A quick fix to this is simply to lower the TTL of the caching in WP Fastest Cache. While our ‘Force cache to clear’ option supports WP Fastest Cache, it may be that they have changed their implementation of some of their cache clearing functions since we implemented this in our plugin and I will make note to look into this.

    In some similar cases, users have found that their host has server side caching that isn’t allow everything to update even when everything else is correctly setup. A host known for this is SiteGround which has aggressive caching as an example.

    Best regards,

    Thread Starter C Green

    (@cgreen177)

    Thanks Joel

    I don’t think that’s the answer but I do think you’ve got me looking in the right place now (I have preload enabled as per the guide but …)

    I suspect it’s the scheduler – but not with your plugin, rather fastest cache

    https://www.wpfastestcache.com/features/manually-preload-with-cron-jobs/ says

    The Preload feature works with WP Schedule which works when someone visits your WordPress site. If your site doesn’t receive a lot of traffic, WP Schedule may not work properly so you need to add a cronjon which speeds up the preload feature.

    ^^ I’ll go add a cron job for WP Fastest Cache and fingers crossed that will sort it.

    Thanks for putting me on the right track!

    Plugin Support Smash Balloon Joel

    (@joelsmashballoon)

    Hey @cgreen177,

    Glad to hear I was of some assistance here. I hope your new solution will work in your case. As for your other issue, I will ask another relevant team member to take a look as soon as possible as that is related to our newest GDPR feature.

    Best regards.

    Thread Starter C Green

    (@cgreen177)

    Hi Joel

    Just for closure if anyone has the same issue, I can confirm that adding a cronjob to force wp fastest cache to refresh seems to have resolved the issue (I chose an hourly schedule)

    Thanks for the help!

    Plugin Support Smash Balloon Joel

    (@joelsmashballoon)

    Hey @cgreen177,

    Brilliant, thank you for sharing your solution here for others, it is very useful!

    Many thanks and I wish you a great weekend.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cache not refreshing’ is closed to new replies.