Re: [squid-users] Split caching by size

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 19 May 2009 13:08:13 -0800

Jason Spegal wrote:
> How do I configure squid to only cache small objects, say less than
> 4mb in memory cache,

http://www.squid-cache.org/Doc/config/maximum_object_size_in_memory/

> and only objects larger than 4mb to the disk?

http://www.squid-cache.org/Doc/config/minimum_object_size/

> I want to optimize the cache based on object size. The reasoning is
> the small stuff will change often and be accessed the most while the
> larger items that tie up bandwidth will not change as often and I can
> cache more aggressively. Also this way I minimize disk io and lag. I
> am using squid 3.0. While I can see this being done with the disk
> cache I am not certain the memory cache can be configured like this
> anymore as the options seem to be missing.
>
> Thanks,
> Jason

Chris
Received on Tue May 19 2009 - 21:08:18 MDT

This archive was generated by hypermail 2.2.0 : Wed May 20 2009 - 12:00:02 MDT