• Resolved vdl

    (@dellalibera)


    Hey everyone!

    I’m currently using Redis + WP Rocket, but I’m facing an issue where I have to clear the entire Redis cache each time I add a new post for it to appear.

    I’d really like to only clear the cache for a specific URL where my grid listing is displayed. I noticed that W3 Total Cache has Redis support and can clear just one post, identifying the calls related to that post to clear only what’s necessary.

    Would anyone know if there’s a way to achieve this with WP Rocket, or if switching to W3 Total Cache might help here?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dellalibera

    Thank you for reaching out and I am happy to help!
    Can you please clarify how are you using Redis + WP Rocket because the mentioned plugin does not utilize Redis in any way? Are you using Redis Object Cache?
    This being said, the W3 Total Cache offers multiple cache engines for every feature, including Page Cache, Object Cache, DB Cache, Minify, etc.
    If you use Redis for a caching method, for example, you can always purge specific pages manually, in the top admin bar Performance>Purge Current Page (if you visit the page while logged in) or use wp cli wp w3-total-cache flush post

    If any page is updated, in the Page Cache section there is a purge policy which can be configured to specify when the cache is purged.
    If the singe page is updated, the cache is only cleared for that page and possibly posts page if it’s a blog article.
    I hope this helps!
    Thanks!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.