[users@httpd] Apache 2.0: mod_cache: "Cache-Control: no-cache" not preventing content from being served from cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As far as I have understood RFC2616 14.9.1 and 14.9.2, no-cache is supposed to prevent content from being served from cache without revalidation, and no-store forbids storing content altogether.

Tests I made with Apache 2.0.49 and 2.0.54 show that Apache gladly serves contents containing "Cache-Control: no-cache" in the response header, from cache without revalidation. On the other hand, if the response contains "Cache-Control: no-store", the response is not cached.

I submit that the CACHE_OUT filter should not be run if the cached headers contain "Cache-Control: no-cache".

Any thoughts?

-ascs

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux