Support » Plugin: Proxy Cache Purge » Cache is not cleared

  • Resolved woodypad

    (@woodypad)


    Hello,
    thanks for your plugin!
    I have a problem I just installed it, I did some tests by clearing the cache of the page and all pages, but the cache is not cleared.
    Changes made to the page are not visible. To delete it currently I go to my cPanel, in fact I have deleted the NGINX Caching from here and the changes are visible.

    Maybe it needs to activate something in your plugin?
    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Plugin Review Team Rep

    That may mean your configuration of the NGINX cache isn’t set up in a wayt that works with the plugin.

    From the FAQ:

    Does this work with Nginx caching?

    It can, if you’ve configured Nginx caching to respect the curl PURGE request. If this doesn’t work, try setting your Varnish IP to localhost as Nginx requires a service control installed for the IP address to work.

    Thread Starter woodypad

    (@woodypad)

    Hi, thanks for your reply.
    Unfortunately I can’t get it to work.
    I asked my host who sent me back to your documentation indicating to try localhost.
    Which I did after your advice, I tried but it doesn’t work. do you have any other ideas?

    Thank you

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Plugin Review Team Rep

    I’m afraid there’s not a whole lot I can do but guess, as it would involve having to log in to your server and understanding how your specific host handled nginx caching :/ Which is well beyond the scope of what any free plugin can offer.

    So the MOST likely reasons are:

    1. The implementation of Nginx is NOT configured to respect the curl PURGE request – your host is the only one who can answer that
    2. The location of your nginx cache is not localhost, but some other server – your host can tell you that as well, and if so, you can change the IP address in the plugin settings

    However, the major flaw I find with Nginx is that there’s not really a built-in way to monitor commands sent to it like Varnish has. There are add-ons but your host would have to have implemented them. If they have, then you can ask for help checking if the PURGE command is being passed on to them. And if THAT is the case, then it’s likely issue #1.

    Thread Starter woodypad

    (@woodypad)

    Ok thank you

    I’m having exactly the same problem, but I can’t figure out where to put locahost which file etc. to put that in varnish and check it works

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Plugin Review Team Rep

    @osvaldo0123 You put in Localhost in the settings of the plugin. You don’t edit any files for the plugin. As for installing and configuring Varnish on your server, I really can’t help you with that.

    @ipstenu I understand and thank you for the information provided, it turns out that varnish and nginx work perfectly in my case but sometimes I have some obsolete data only on my front page, for example the categories are cleaned when I publish something but not on my front page

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Plugin Review Team Rep

    @osvaldo0123 You need to make your OWN post for this as this thread is for the OP and his very different issue πŸ™‚

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