Since I've been finding 522 errors for images generated with fen2.php in the PHP error log, I made some changes to how caching works in Cloudflare. It had been set to not cache anything with a query string. I changed this to standard, which separately caches each unique query string. Then I made some cache rules. I have five cache rules right now. These are:
Bypass cache for Jocly
Bypass cache for nocache in query string
Cache PHP scripts that generate images
Cache HTML when cvpuser cookie is absent
Bypass cache for other PHP scripts
Since the cache rules do not mention anything about applying only one rule or about the order in which they are applied, the third rule and the last rule explicitly mention showpiece.php, fen2.php, drawdiagram.php, and marker.php.
Since I've been finding 522 errors for images generated with fen2.php in the PHP error log, I made some changes to how caching works in Cloudflare. It had been set to not cache anything with a query string. I changed this to standard, which separately caches each unique query string. Then I made some cache rules. I have five cache rules right now. These are:
Since the cache rules do not mention anything about applying only one rule or about the order in which they are applied, the third rule and the last rule explicitly mention showpiece.php, fen2.php, drawdiagram.php, and marker.php.