Help me find a caching strategy - due to limitations of GitHub with Cloudflare Pages

I’m using Cloudflare Pages with a GitHub repository and the problem is that I have my stylesheets, which I want to cache on CF Edge, with origin cache-control set to public max-age=0, must-revalidate. There’s no way to change cache-control at the origin, and CF does not cache the resource when is set to max-age=0

I’ve set Browser Cache TTL with _headers, as it did not work with caching > configuration: Browser Cache TTL 1 year. But I cannot find a way to cache those stylesheets on CF Edge.

I’ve tried Cache Rules (ends_with(http.request.uri.path, “.css”)) and also (starts_with(http.request.uri.path, “/assets/css/*”)) – my .css are in /assets/css/ – but it does not work, as I think it’s always the same problem: CF does not cache the resource when is set to max-age=0

I also thought about using Page Rules to Cache Everything and then Cache Rules to bypass cache for some pages. But it would not be the ideal solution to manage, and in any case: 1) will Page Rules Cache Everything have the same problem: CF does not cache the resource when is set to max-age=0?; 2) CF is about to discontinue Page Rules in favor of Cache Rules.

I ran out of ammo. Anyone have an idea? Thanks!