Cloudflare Cache Keeps Serving Old CSS and JS Files
I'm having a problem with https://queteecosmetics.com/ after enabling Cloudflare. Sometimes the website loads an older version of the CSS and JavaScript files even after I clear the WordPress and browser cache. Visitors are seeing broken layouts and missing styles, while the latest files are already on the server.
I have already tried purging the entire Cloudflare cache, enabling Development Mode, and clearing my browser cache. The problem goes away for a short time, but after a while Cloudflare starts serving the old assets again. It seems like some edge servers are still keeping outdated cached files.
The site uses versioned CSS and JS files, so I expected Cloudflare to fetch the latest versions automatically. Could this be related to Cache Rules, Browser Cache TTL, or Edge Cache TTL settings? I'm also wondering if Automatic Platform Optimization or another Cloudflare feature could be causing this behavior.
Has anyone experienced something similar with a WooCommerce website? I would appreciate any suggestions on the best Cloudflare settings or cache configuration to make sure updated CSS and JavaScript files are always served correctly.