Re: Pragma: no-cache and Squid

From: Duane Wessels <>
Date: Thu, 30 Apr 1998 21:27:49 -0600

Vladimir Litovka writes:

> 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

If you have control over the headers, you should make it output:

        Cache-Control: no-cache

Duane W.
Received on Thu Apr 30 1998 - 20:32:12 MDT

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