4 ms·
> They won't cache your stuff forever, but they'll cache it as long as someone requests the content again before the content gets removed from cache. "It stays
by Jasper_ 5y ago
> They won't cache your stuff forever, but they'll cache it as long as someone requests the content again before the content gets removed from cache.
"It stays in the cache as long as it stays in the cache"
??? What on earth does this mean?
- TuringTest 5y agoI read it as saying that if someone downloads it before the cache timer deletes it, it resets the timer. So if the file is downloaded regularly, it is never removed from the cache.
- jeroenhd 5y agoContent is cached for a certain amount of time (default is 24 hours, I think?) before it gets deleted. If the content is requested again, the timer is reset. This is opposed to long-term caches like Cloudflare's that'll cache the contents of your website regardless of how many requests come in. Cloudflare will happily just refresh the contents of your website even if nobody has been to your website for weeks, and quickly serve it up when it's needed.
- acdha 5y agoThat’s not how Cloudflare normally works: the HTTP cache is demand based and does not guarantee caching. What you’re describing sounds like their Always Online feature which regularly spiders sites to serve in the event of an error.