Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-10-01 Thread JXu
ted my custom web page is still kept >> displaying >> . >> I must be wrong! >> >> Any suggestion. >> >> Thank you again! >> Forrest >> >> > > > -- View this message in context: http://www.nabble.com/can-I-remove-cache-feature-from-Squid-or-how-can-I-make-the-time-of-cache-is-very-short-tf4542212.html#a12980521 Sent from the Squid - Development mailing list archive at Nabble.com.

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-10-01 Thread JXu
y custom web page is still kept >> displaying >> . >> I must be wrong! >> >> Any suggestion. >> >> Thank you again! >> Forrest >> >> > > > -- View this message in context: http://www.nabble.com/can-I-remove-cache-feature-from-Squid-or-how-can-I-make-the-time-of-cache-is-very-short-tf4542212.html#a12980520 Sent from the Squid - Development mailing list archive at Nabble.com.

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-10-01 Thread Christos Tsantilas
Hi Forest, The Cache-Control and Expires headers must contained at the headers of the http response. The ci_request_add_xheader function you are using adds headers to the icap headers response. (the ci_respmod_add_header is the function you need ) Regards, Christos PS. For problems re

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-30 Thread JXu
rrect date as the messages you send > should comply with specifications, not just make the receiver do what > you intended.. > > Regards > Henrik > > > -- View this message in context: http://www.nabble.com/can-I-remove-cache-feature-from-Squid-or-how-can-I-make-the-time-of-cache-is-very-short-tf4542212.html#a12972068 Sent from the Squid - Development mailing list archive at Nabble.com.

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-30 Thread JXu
rrect date as the messages you send > should comply with specifications, not just make the receiver do what > you intended.. > > Regards > Henrik > > > -- View this message in context: http://www.nabble.com/can-I-remove-cache-feature-from-Squid-or-how-can-I-make-the-time-of-cache-is-very-short-tf4542212.html#a12972067 Sent from the Squid - Development mailing list archive at Nabble.com.

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-30 Thread Henrik Nordstrom
On mån, 2007-10-01 at 09:28 +1300, Amos Jeffries wrote: > Apparently "Expires: -1;" is invalid. Better to use an explicit timestamp, > even if its Jan 1970, just to be sure that it works as expected. -1 is invalid, which by specifications means expired in the past. See RFC2616 14.21 Expires. But

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-30 Thread Amos Jeffries
> > Hi Amos > > Thank you for your reply. I believe this is good solution. > But after I made the change below in my custom web page: > > snprintf(buf, 128, "X-Infection-Found: Type=0; Resolution=2; > Threat=URL;"); > buf[127] = '\0'; > ci_request_add_xheader(req, buf); > snprintf(buf, 128, "Cac

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-30 Thread JXu
not >> want to see permission denied web page for several minutes. >> >> Thank you in advance. >> Forrest > > Have your custom ICAP service set the cache-control headers properly in > the custom page. Expires: with the current time or a few seconds in the &

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-30 Thread JXu
re from Squid or >> make the time of cache is very short. I hope after I made www.yahoo.com >> available, I can see real www.yahoo.com web page in short time and I do >> not >> want to see permission denied web page for several minutes. > > Which version of Squid are you usin

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-30 Thread Amos Jeffries
JXu wrote: Hi Please help me to understand the question described as below: I added a service in c-icap to block some URLs(for example, www.yahoo.com) and I did it. It displays permission denied web page (designed by me) when the user enters these URLs. After I made www.yahoo.com available,

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-29 Thread Adrian Chadd
On Sat, Sep 29, 2007, JXu wrote: > > Hi > > Please help me to understand the question described as below: > > I added a service in c-icap to block some URLs(for example, www.yahoo.com) > and I did it. It displays permission denied web page (designed by me) when > the user enters these URLs. >

can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-29 Thread JXu
-Squid-or-how-can-I-make-the-time-of-cache-is-very-short-tf4542212.html#a12962512 Sent from the Squid - Development mailing list archive at Nabble.com.