My website is not being cached and Cloudflare is always giving a BYPASS for me.
I’ve checked the responses from the origin server, but nothing indicates it should give a BYPASS.
Here are the related headers:
These are static assets like CSS, JS, HTML and they don’t change at all. When there is a new version, the application itself requests a new file with a new filename.
Redbot also says:
The resource last changed 8 hr 8 min ago.
This response allows all caches to store it.
I have a Cloudflare rule setup for: circles.gallery/_app/ Cache Level: Cache Everything
I know, but lately some rules did not match their expected pattern. Thats why I asked for. Should have happened immediately. You can change it back - did not work.
ATM I am clueless, don’t know all you other settings so hard to say anything precise.
I just tried adding Edge Cache TTL, Browser Cache TTL along side Cache Everything directive. If it should have been activated immediately, it did not work as well.
Hmm, are there any other related piece of setting that might affect this? I devoured all the documentation and community questions available, but my setup looks okay.
The origin server is behind render.com, not sure if they are not playing nicely somehow?
But I have an “A record” pointing to my origin server IP. How could Render interfere with this traffic?
I’m not sure what I am saying is not very logical though.
Could you guide me to where can I send an email to Cloudflare Support for checking this out?
What Cloudflare currently does about it
Currently, any record pointing to a host is automatically set to and cannot be changed to . Going back to the example above, this means that because customer.host.com is set to , www.customer.com cannot be and is therefore set to . This means that certain Cloudflare services such as page rules and workers cannot currently be used in this situation.
My DNS setup indicates I am , anyways, I will ask this to Render’s support as well.
If you use a CNAME to your onrender subdomain instead of an A record the IP, Cloudflare should send the traffic to your zone before going through Render’s.
Hmm now I am using a CNAME to circlesgallerywebsite.onrender.com, with Cloudflare proxying enabled.
I can now see cf-cache-status: MISS header, rather than the BYPASS! I think this is a step towards the right direction?
Would using this configuration raise any other issues? Should I turn off the ?
There shouldn’t be any issues with this configuration. There are a number of Render users currently doing this. It was the recommended setup from Cloudflare.