I may suggest a fast way, given your cache_dir is /data/cache, and squid is running with nobody, then do: stop squid; mv /data/cache /data/cache0; chown -R nobody:nobody /data/cache; squid -z; start squid; rm -rf /data/cache0 &; (I often do it as this way). --- On Wed, 1/4/09, Nilesh <niluforalways@xxxxxxxxx> wrote: > From: Nilesh <niluforalways@xxxxxxxxx> > Subject: How to clear old cache > To: "Squid" <squid-users@xxxxxxxxxxxxxxx> > Received: Wednesday, 1 April, 2009, 8:11 PM > > Hi All, > > How do I remove old squid cache? > > I have googled for the problem but couldnot get the proper > way to delete cache. > > Every one said to delete the cache folder and rebuild the > cache folder again with command squid -z. > > Our server cache not rebuild from long time, Is there a way > to delete only few months back cache.. > > or there is way squid can rebuild the cache automatically > after a periodic time > > Please help > > Regards > Nilesh > > > > Enjoy a safer web experience. Upgrade to the new Internet Explorer 8 optimised for Yahoo!7. Get it now.