[squid-users] Squid purge for zip files

From: Aravind J <aravindjp_at_yahoo.com>
Date: Thu, 24 Jul 2008 03:37:27 +0530 (IST)

Hi ,
   I have an Web application which can be used for downloading tools and patches . This application gets tools and patch files in "zip" format and gives to users. I am using squid server to cache the zip files , so that next time user looks for same zip file, it can be downloaded from squid cache. Now I am facing a problem like , I want to remove individual zip file from squid cache. I tried to achieve this by using -m PURGE option in squidclient. I have added permissions in squid conf . But I am always getting a 404 Not Found , but right after executing this command , if I try to download the same file , I am getting a TCP_HIT also , that means file is till in cache. Could some body tell me what's wrong on my side.

I tried different options like giving absolute URL of that file
./squidclient -m PURGE ftp://test123@my.ftpsite.com/tools/patches/myfile.zip

and /squidclient -m PURGE *zip etc....

But I am always getting 404 , like below

HTTP/1.0 404 Not Found
Server: squid/2.5.STABLE7
Mime-Version: 1.0
Date: Wed, 23 Jul 2008 21:55:58 GMT
Content-Length: 0

Could you please help me to fix this issue .

Thanks & Regards
Aravind
Received on Wed Jul 23 2008 - 22:07:37 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 24 2008 - 12:00:04 MDT