I have a website that uses WP Rocket, BunnyCDN, and Cloudflare APO.
Everything seems to be working fine except for one thing.
In WP Rocket, I have CSS minification enabled. This will convert the original CSS file paths to something like /wp-content/cache/min/…/filenameabcd1357.css. These files live on the CDN.
I’ve noticed that sometimes when visiting the site, the cached APO page is serving an outdated CSS filepath. So it’ll be trying to serve filenameabcd1357.css, which has since been dynamically changed by WP Rocket to filenameefgh2468.css.
This results in the file not being found, and no styling being loaded on the site.
Is there any way for APO to know when the CSS files have changed?
Thanks in advance!