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.
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
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:
- The implementation of Nginx is NOT configured to respect the curl PURGE request – your host is the only one who can answer that
- 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.
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
@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
@osvaldo0123 You need to make your OWN post for this as this thread is for the OP and his very different issue π