Dynamic Page Rule not working for css with query string

I have a page rule set up for www.example.com/*.css Cache Level: Standard (my real domain is in the rule, not example.com)

I am getting cf-cache-status: DYNAMIC for all css files with a query string, but HIT for css files without a query string

I have Header set Cache-Control "max-age=2592000, public" set in .htaccess.

image

How do I make cloudflare cache css files with a query string?

image

I am also forcing https and www. .htaccess rules redirect to www and/or https

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