Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Rookie
edited by


I have a problem with my website pages. It's not being purged after adding new posts. I'm using redis cache. So my temporary fix for now is to exclude all pages from being cached. However I don't really have an idea how to exclude all pages by using regex from the documentation.

# Regex supported (sensitive|insensitive)
sudo webinoly -skip-cache='^(one|two)$' -regex=insensitive

I wanted to exclude domain.com/page/2 and so on. How do I implement it? Thank you in advance.



EDIT: Got the right regex code!

sudo webinoly -skip-cache=\/page\/* -regex=insensitive

1 Answer

0 votes
by Expert
selected by
Best answer

Please, read the documentation!

  • First of all, Webinoly doesn't have Redis Cache support for pages (only for Object Cache).
  • In case you are using Webinoly FastCGI Cache, you can deactivate it. It's just as simple as that!
  • You need a WP plugin to purge the server cache when a post is created or updated. Webinoly gives a lot of warning messages about it, but seems like is not enough!
  • Regex should be entered with single quotes.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.