I want to use Cloudflare’s proxy cache in front of Render, because it lets me cache HTML responses.
For some reason, Cloudflare’s cache is being bypassed (made known to me through the
CF-Cache-Status response header). I’ve explained what I’m seeing, in detail, on the Cloudflare forum here.
I’ve tested with my home router’s IP and Cloudflare’s cache worked as expected, so I’m pretty certain this is an issue on Render’s end. In other words, I temporarily updated the A record in Cloudflare DNS to use my own public IP, and then I exposed my local server to the internet to verify the problem wasn’t my own fault (ie: bad response headers and what not).
Any help would be appreciated!