Tips for how to troubleshoot CloudFlare caching issues?

This is likely not a Render issue but thought I would throw it out there to see if anyone has related knowledge.

Just set up CloudFlare and everything seems to be working but I’m looking at how CF is caching my static resources and there are a few issues:

It’s reporting Cf-Cache-Status as EXPIRED on styles.css for some reason (max-age is set to one month). I’m also seeing a GET for style.css with a query string. I have no idea where that query string is coming from, my app certainly isn’t adding it: GET /static/css/dist/styles.css?v=1,727,292,446

Also seeing tabulator.css being marked as EXPIRED when it clearly should not be.

I’m using Whitenose with my Django app (as per Render’s instructions) and am wondering if this is somehow causing a conflict since Whitenoise applies a version number to static files. But I don’t see how this would cause issues unless a new deploy was done.

Hi Dave,

Can you confirm that you set up your Orange to Orange setup using a CNAME to your onrender.com subdomain rather than an A record to our anycast IP?

Could you share a screenshot of your DNS records? If you don’t want to share this on the public forum, feel free to open a support ticket from the dashboard.

Regards,

Matt

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.