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 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. Thanks for the feedback! :) Cheers, Matt ________________________________ From: Jan Haderka <[email protected]> Reply-To: Magnolia User-List <[email protected]> Date: Thu, 12 May 2011 11:01:39 +0200 To: Magnolia User-List <[email protected]> Subject: Re: AW: [magnolia-user] Cache Deny URL On May 10, 2011, at 4:30 PM, Dertinger, Matthew wrote: Hi Marvin and Jan, A couple questions I have regarding this are: 1. Are there any side effects of using this method instead of configuring this behavior through the browserCachePolicy? I assume this is a custom filter you are actually talking about, right? If that's the case then possible side effect might be that the header appears in the response twice - once from your filter and once from the BCP with conflicting instructions ... afaik most browsers will interpret that as "no-cache" so you get the desired effect anyway :D 1. I’m still curious about why adding the configuration to the browserCachePolicy didn’t seem to work. Jan, could you provide a sample configuration to accomplish this through the browserCachePolicy config? I'd would 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 ________________________________ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
