Ask HN: Unshared or Private Caches for my app/company to use?

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • Squid

    Squid Web Proxy Cache

    The best thing to do is just use the browser's own cache but because of the cache partitioning mentioned in the article, host 3rd party libs on your own site instead of using traditional shared CDN URLs. By hosting yourself you can make sure each resource is at a version specific URL can you can crank the cache durations way up for all your CSS and JS files so you don't even need to do cache validation often. You can even have a cache seeding page the loads every resource if you want. For HTML files make sure that your HTTP servers support last modified or etags so that If-None-Match or If-Modified-Since can be used.

    Use a CDN accelerator like Cloudflare to improve load time since server side caching and client to server distance can impact performance.

    Caching is solved fairly well by browsers, its usually server misconfiguration or lack of that is the problem.

    I think has options to ignore some of the browsers cache headers and return cached content anyway. But HTTPS caching requires that you let the traffic be intercepted and install custom CA certs so the proxy can be a MITM caching proxy.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts