On Wed Nov 05 2014 at 4:04:40 PM Eelco Dolstra <[email protected]>
wrote:

> Hi,
>
> On 05/11/14 12:02, Wout Mertens wrote:
>
> > How about putting a caching proxy like Squid in front so the nars are
> cached?
>
> There already is an Apache reverse proxy in front of it. Since mod_proxy
> supports caching, it's probably not hard to enable it (though Hydra may
> need to
> provide the right HTTP headers for cacheability).


Probably no headers are necessary. Here's the best setup document I could
find:
https://confluence.atlassian.com/display/DOC/Configuring+Apache+to+Cache+Static+Content+via+mod_disk_cache

The htcacheclean cron job is pretty important :)

Wout.
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to