Cloudflare.com/diagnostic-center

Hello,
How can I disallow cloudflare from caching the main domain and just allow its benefits to be used for a subfolder or subdomain?

Thank you

You can create a Page Rule for example.com/subfolder/* with Cache Level set to Standard, and a second Page Rule for example.com/* with Cache Level set to Bypass. Make sure you put them in this order.

Thank you so much sdayman

Do I need to do the two mentioned rules for cache only or i have to repeat for every thing else? such as auto minimise. performance, etc?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.