Re: Pragma: no-cache and Squid

From: Dancer <dancer@dont-contact.us>
Date: Fri, 01 May 1998 03:48:01 +1000

Are you _sure_ that that document came from the cache, and not from the
web-server? Check your access log. It's probable that it _did_ come from
the server and not from squid's cache.

Also, as an aside, squid can't see META HTTP-EQUIV tags, unless the
web-server checks the document for them, and turns them into the
appropriate HTTP headers _before_ handing the document to squid.

Vladimir Litovka wrote:
>
> Hi!
>
> Why there are documents in cache, which has 'Pragma: no-cache' header?
> There aren't "?" or "cgi" components in path/name, so directives
> hierarchy_stoplist and cache_stoplist has no effect. Of cource, I can setup
> my squid to ignore my .dhtml documents, but there are lots of proxies in the
> rest of the world :-) Is there universal method to make squid not to cache
> such documents? Or I need to setup WWW server for correct sending Headers?
> Note, that all of this documents are generated by my program (PHP as Apache
> module) - it isn't static HTMLs.
>
> This is fragment of document from cache:
>
> ------------------ Cut here ---------------
> HTTP/1.1 200 OK
> Date: Thu, 30 Apr 1998 09:02:55 GMT
> Server: Apache/1.2.6
> Pragma: no-cache <----- !!!!!!!!!!!!
> Connection: close
> Content-Type: text/html
>
> <html>
> --------------------------------------------

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT d- s++: a C++++$ UL++++B+++S+++C++H++U++V+++$ P+++$ L+++ E-
W+++(--)$ N++ w++$>--- t+ 5++ X+() R+ tv b++++ DI+++ e- h-@ 
------END GEEK CODE BLOCK------
Received on Thu Apr 30 1998 - 11:00:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:59 MST