On Sat, 19 Nov 2011 13:17:48 +1300 Amos Jeffries wrote: > On 19/11/2011 12:41 p.m., RW wrote: > > On Mon, 31 Oct 2011 11:38:03 +1300 > > Amos Jeffries wrote: e, > > Are you saying that new objects are not written to disk until they > > expire from the memory cache? The implication would presumably be > > that some objects are lost when squid shuts down. > > > > Yes. There is some time spent saving as many as possible to disk > during the shutdown_timeout, but this rarely gets it all due to being > configured too short. > > Consider though that caching is an entirely optional to start with. > Things in the cache can be re-fetched as needed from the network. So > there is no actual loss. The reason I asked is that I upgraded to 3.1 and I noticed that the defaults are: cache_mem 256 MB maximum_object_size_in_memory 512 KB It struck me that a SOHO server that's turned-off overnight may cache next to nothing under 512 K if the memory cache is lost on shutdown. Is 256 MB small enough for everything to be saved.