On May 10, 2011, at 4:30 PM, Dertinger, Matthew wrote:

> Hi Marvin and Jan,
> 
> 
> A couple questions I have regarding this are:
> 
> 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
> 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]>
----------------------------------------------------------------

Reply via email to