Hacker News new | past | comments | ask | show | jobs | submit login

I imagine that would be correct, yeah. If you don't specify to cache something, it shouldn't be cached. If a proxy out there still caches it, I'd consider it broken.



From memory, if something has no caching headers PageSpeed Service will treat it as

    Cache-Control: public, max-age=600
Combined with serving html as uncacheable, this is a pragmatic and functional way of dealing with the many sites that haven't put much (any) thought into caching.


I just looked at the PageSpeed dash, if no cache headers are specified then it defaults to 1800 seconds.


Ah, interesting. Thanks for noting this. Something I'll keep in mind if we ever look at the PageSpeed service. I'm actually not certain if Cloudflare is doing something similar for pages with no headers set.




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

Search: