Excluding certain pages in PageRules while using wildcards

When we define a Page Rule for a wildcard URL like https://example.com/*/* we may need to exclude certain pages from those… This is useful when we need to cache everything but not the login pages, register pages, form action pages.

You can do this by adding benign Page Rules for the pages you want to exclude. So Rule #1 would match your login page and cache set to Bypass. Rule #2 for registration, etc.

2 Likes

This topic was automatically closed after 14 days. New replies are no longer allowed.