You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by fi...@apache.org on 1998/12/28 14:08:00 UTC

Re: apache-api/3023: r->no_cache should set the Pragma and maybe the cache-control header

[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]


Synopsis: r->no_cache should set the Pragma and maybe the cache-control header

State-Changed-From-To: open-closed
State-Changed-By: fielding
State-Changed-When: Mon Dec 28 05:08:00 PST 1998
State-Changed-Why:

The "Pragma: no-cache" has no meaning in a response for
HTTP/1.0 or HTTP/1.1, regardless of what some other applications
do in reaction to that field.  Also, the no_cache indicator
in the request_rec exists ONLY to replicate the functionality
of the Vary field in HTTP/1.1.  It is therefore not appropriate
to add Pragma or Cache-Control to such responses.
If such is desired for specific resources, then it would
be better to use mod_headers to directly control these
fields.