On May 12, 2011, at 3:51 PM, Dertinger, Matthew wrote:

> Hi Jan,
> 
> Re:
> 
>> I assume this is a custom filter you are actually talking about, right?
> 
> Actually, no, the filter I’m talking about is included in 
> magnolia-module-cache.
> 
> Class: info.magnolia.module.cache.filter.CacheHeadersFilter
> Javadoc: 
> http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.4.2/magnolia-module-cache/apidocs/info/magnolia/module/cache/filter/CacheHeadersFilter.html
> 

Oh that one. The functionality of this filter is supposed to be replaced by 
browser cache policies. The problem with it that the headers are set before the 
request is actually processed so in certain cases you might not actually want 
what it sets for you (e.g. when retrieving dynamic data and failing to retrieve 
such data).

Still probably worse you can get is some cache headers being set twice => no 
cache.

> Re:
> 
>> I'd say that adding voter you configured in the bypasses of your filter 
>> under 
>> config:/modules/cache/config/configurations/default/browserCachePolicy/policies/dontCachePages/voters
>>  should do the trick.
> 
> Yeap, we tried this, I’ll try it again, maybe I mistyped something.  I’ll let 
> you know if it works.

cool. Looking forward to hear from you.

Cheers,
Jan

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to