Add ‘Purge Cache’ Button for IPNS (cloudflare-ipfs.com) PART II

Previous topics that were automatically closed because of wrong category:

Quotes by @tmdoit:

Cache not working properly. It’s set to 21600 (6h) and doesn’t update on fresh content. Website updates only after cache expiration, every 6h.

What will be helpful to manage the problem:

  • “Purge Cache” button
  • place to set cache expiration
  • place to turn off/on cache (for developers)

Best solution will be to check by CF if content changed on origin.

Quotes by @exe-boss:

This would be useful in the same way that 1.1.1.1 also allows purging the cache.

I notify you to vote on this topic which shouldn’t automatically be closed as previous topics: @rudi.starcevic, @tmdoit, @hacdias, @exe-boss.

Thanks for pinging @ilyaigpetrov

I’m +1 this topic, please :slight_smile:

I’m using IPNS, and the cache time is very inconsistent. Initially it does take 6 hours, and after that it finds new content after 5 or 10 minutes.

I documented setting this up with the Fission service that I run https://guide.fission.codes/hosting/custom-domains/using-cloudflare-ipfs-gateway

Was this resolved? Im having the same issues with files being cached on my user’s machines for up to 24 hours.,
Is there a way to set the “cache-control” HTTP header to avoid caching files for too long?