Then... How can I modify squid source file for it check cache-control and expire header's value? 2009/9/18 Jeff Pang <pangj@xxxxxxxx>: > 2009/9/18 Calvin Park <carrot@xxxxxxxxxxxx>: > >> HTTP/1.0 200 OK >> Date: Tue, 01 Sep 2009 07:54:40 GMT >> Server: thumbd-64bits/0.2.51 >> Content-Length: 2798 >> Content-Type: image/gif >> Cache-Control: max-age=604800 >> Last-Modified: Mon, 17 Aug 2009 04:40:33 GMT ===> It's ok >> Expires: Tue, 08 Sep 2009 07:54:40 GMT ===> It's problem for me >> Accept-Ranges: bytes > > > Here you have both cache-control and expire headers. > So squid will use cache-control firstly. > It doesn't mean squid will not use the rules set by mod_expire. > > > Jeff. >