I am using CloudFlare’s IPFS stuff and _dnslink to serve a static page. I have an IPFS node running in the cloud that has my assets pinned. My problem is that if the page isn’t accessed in a while, it gets dropped from CloudFlare’s cache. This isn’t a problem in itself, except for once CloudFlare drops the cache, then fetching the page can take up to 5 minutes across multiple retries.
Is there a way I can tell CloudFlare, “when you lose the cache, try here first” rather than relying on IPFS routing to eventually find the files? I also have tried pinning the files via Eternum (pointed to by CF docs) in hopes that perhaps they had a closer connection but that doesn’t really help the issue.
My next step is to setup an auto-fetcher that grabs each of the resources every so often to keep them warm in CF. This feels like a solution that is bad for CloudFlare and would be avoided if it just provided a mechanism for me telling it “this is where you can probably find the hashes referred to by this domain”.