Possible to make Page Rule conditional?

Is it possible to make a Page Rule that is conditional?
I’m looking to do something like this:

If response cacheability is not cacheable,
And Path matches one of
/fee/
/fi/
/foo/
/fum/
Then allow caching, fixed value: 15 minutes
And send headers Cache-Control and Expires

Sorry, Page Rules are pretty basic. You’d have to dive into Workers for more complex caching rules.

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