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

Yes, I also mentioned proxies like varnish and squid, but problem is they still require a HTTP request. It would be nice if there was an API which enables us to use pure client-side cache invalidation without any extra calls.


My point is- that there may be a proxy server outside your control which is caching the content (e.g. inside a corporate network).

Unless you can invalidate the cache here as well, then clearing it in the browser is no good (I suppose you could set your cache headers to disable caching on intermediate proxy servers)


Ahh, yes, I misunderstood that. That would be tricky to circumvent.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: