Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The maximum file size Cloudflare's CDN caches is 512MB for Free, Pro, and Business customers and 5GB for Enterprise customers.

What's not stated here, and the OP learned, is that requests for larger files are always passed through directly.

https://support.cloudflare.com/hc/en-us/articles/200172516-U....



If it doesn’t hit a cache then it should be passed on... that seems to be the basic premise of how caches work.


I agree with this - Cloudflare's pricing and function is clear here, and it seems perfectly reasonable and expected to have a cutoff size that they don't cache at the edge. I get the OP was pissed about a big bill and felt like lashing out, but it's unfair to complain about Cloudflare when they've done nothing wrong.


CF's size limit is the first thing I checked when considering them.


Is the file size known as the request starts?


Anything the cache doesn’t have, causes a cache miss, which passes it through.

So when you request the large file, the CDN (cache) doesn’t have it, so it immediately passes through to the original source. The details of how this is implemented don’t really matter in the sense that they are not going to host the large file(s) in the CDN, so they will always fall through.


You're right. I misread the parent post when they were saying, doesn't "hit the cache, it should be passed on".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: