Hi all,
I am trying to use CacheHeadersFilter to set HTTP headers when the
cache is on. Based on the javadoc in CacheHeadersFilter,
* + headers-nocache
* - class
info.magnolia.cms.filters.CacheHeadersFilter
* + bypasses
* + extensions
* - class
info.magnolia.voting.voters.ExtensionVoter
* - allow html
* - not true
This should not cache any html pages. However, my HTTP response is
still the following:
HTTP/1.x 304 Not Modified
Server: Apache-Coyote/1.1
Magnolia-Registration: Registered
Date: Tue, 05 Feb 2008 19:12:09 GMT
========================================================================
========
FYI. The cache setting works because the expiration minutes change in
the HTTP header:
* + headers-cache
* - class
info.magnolia.cms.filters.CacheHeadersFilter
* - expirationMinutes 1440 <em>(default)</em>
* + bypasses
* + extensions
* - class
info.magnolia.voting.voters.ExtensionVoter
* - allow gif,jpg,png,swf,css,js
* - not true
========================================================================
========
So, I am not sure whether there are some extra settings needed for
header-nocache to work.
Thanks,
Po Ki