Not really, at best it would be once per pop assuming the cached is never invalidated, which can occur either to release resources or because the cache expired.
One visitor can be routed through many locations depending on the day/hour to prevent network congestions, so it definitely happens more than once.
Considering the many millions of requests per second cloudflare processes per second, adding one function that parses files in real time is absurdly expensive.
I have dozens of websites running under a traditional LAMP stack. There is no “local compiler” that processes the CSS or JavaScript. The files get copied onto the web server, and that is that. There’s no build process or anything.
If you are working with old code bases on LAMP installations, there is nothing that prevents you from installing plugins on your server to do the optimizations. PageSpeed Module | Google for Developers this is likely to be better than what CF offers right now.
Considering that PHP still remains a highly used language and likely makes up a good fraction of websites proxied through Cloudflare, I imagine this will result in an inferior experience on many websites.
This doesn’t make lots of sense, you can use any modern frontend framework with PHP.
As a developer, I am not going to waste time minifying CSS files that change often or manually minifying them whenever I change one - I do that for one main jumbo CSS file I have that’s used on many sites which doesn’t change, and that’s it, otherwise, nothing is minified on the server.
Absolutely, I would never recommend anybody to minify files manually.
That’s what made the Auto Minify feature really nice and convenient - saving developer time, freeing them to do other things
But it takes minutes to implement any of the approaches I mentioned earlier, this is not as complex as it might seem.
But I write all my CSS and JS by hand, so they don’t benefit from that additional step.
Pagespeed or something like that is your best option here