[squid-users] Saving memory cache to disk on reboot?

Amos Jeffries squid3 at treenet.co.nz
Fri May 22 06:52:02 UTC 2015


On 19/05/2015 12:21 a.m., Leonardo Rodrigues wrote:
> On 18/05/15 08:55, Yan Seiner wrote:
>> The title says it all - is it possible to save the memory cache to
>> disk on reboot?

Squid does what it can between shutdown signal arriving and the
shutdown_timeout completing. Theres not time to do much though.

Then as Leonardo said, cache is a temporary storage. Most traffic with
objects small enough to be worth memory-only caching these days is
dynamic objects with very short lifetimes. So even if it was saved and
re-loaded from disk its likely to need a network fetch to revalidate
and/or replace soon anyways.

Amos



More information about the squid-users mailing list