https://issues.apache.org/bugzilla/show_bug.cgi?id=49533

           Summary: mod_cache: Cache-Control: no-cache and no-store must
                    ignore cached entity
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: minf...@sharp.fm


When an entity is already cached, and a client sends a request with the
Cache-Control: no-cache or no-store header, mod_cache attempts to revalidate
the cached content instead of fetching the content from scratch.

This violates RFC2616 14.9.4 Cache Revalidation and Reload Controls:

End-to-end reload
    The request includes a "no-cache" cache-control directive or, for
compatibility with HTTP/1.0 clients, "Pragma: no-cache". Field names MUST NOT
be included with the no-cache directive in a request. The server MUST NOT use a
cached copy when responding to such a request. 

RFC2616 doesn't explicitly state what needs to happen to an existing cached
entry when a no-store is received from a client, however in order to honour the
client's wishes, a no-store should result in a from scratch request, as opposed
to a revalidation of and possible serving of stored content.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to