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
Please, read the documentation!
PayPal · GitHub Sponsors · Bitcoin