tweag / nix-store-gcs-proxy

A HTTP nix store that proxies requests to Google Storage
Apache License 2.0
10 stars 1 forks source link

Support HTTP conditional request caching #8

Open glittershark opened 4 years ago

glittershark commented 4 years ago

I've deployed nix-store-gcs-proxy behind a varnish cache in an attempt to speed up loads from the cache, but I'm having to do a lot of tweaking inside the varnish cache itself to force it to cache responses, since nix-store-gcs-proxy doesn't support etags, last-modified, if-modified-since, if-none-match, and all that fun stuff. It'd be nice if it did!

glittershark commented 4 years ago

I might end up doing this myself