Ken Peng wrote:
Hello,When an object stays in cache for some time then get expired, will squid delete this object at the moment?
No. Not that instant.Squid only checks for expired objects if they are requested again by a client. Squid will then fetch a new copy and replace the expired object.
Sometimes garbage collection processes will notice an object is old and remove it as well.
Amos -- Please be using Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19 Current Beta Squid 3.1.0.13