June 2026 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

Cloudflare “Cache Everything” Rule For WordPress Websites

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28194
    Jerry
    Guest

    Cloudflare has been changing their features so often the past few years, but the dust has finally settled on their new Cache Rules system which is incredibly powerful even on the free plan.

    Check out this rule that works great with your SlickStack server:

    https://gist.github.com/jessuppi/4a8334d777621867f08c24f77c0857fc

    #28195
    Terry
    Guest

    The key thing is choosing “Edit expression” instead of using their rule builder wizard.

    #28196
    Beverly
    Guest

    What about Page Rules, will it conflict with them?

    #28197
    Grace
    Guest

    https://developers.cloudflare.com/cache/how-to/cache-rules/order/

    If you have Page Rules implemented for caching on the same path, Cache Rules will take precedence by design.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Cloudflare “Cache Everything” Rule For WordPress Websites

Thanks to our generous sponsors for their support!