You will need to use custom voter that looks at the protocol to do so. Then you 
can configure such voter in the bypass of cache filter 
(config:/server/filters/cache/bypasses) or in the cache policy if you want this 
to apply to just few pages 
(config:/modules/cache/config/configurations/default/cachePolicy/voters)

HTH,
Jan

On Jul 19, 2011, at 12:05 PM, Magnolia Forums (on behalf of toufiq khazi) wrote:

> 
> Hello All,
> 
> I have implemented magnolia cache policies in my application. This is working 
> fine. 
> Now my requirement skip the cached page if the incoming request protocol is 
> "https".
> 
> for example: lets say there is page with url,
> 
> http://myapplication/home.html
> 
> this page is cached.
> 
> if the request is coming for this page then it will be served from magnolia 
> cache.
> 
> now if the request url is,
> 
> https://myapplication/home.html
> 
> then this request should not be served from magnolia cache.
> 
> Can anyone please tell me if there is a configuration to achieve the above 
> requirement?
> 
> Thanks in advance :)
> 
> Regards,
> Toufiq
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=2268029a-38b1-42be-add3-1dfae323b4fd
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------




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

Reply via email to