Hi, I need to be able to exclude certain URIs from being browser cached (ie, getting cache headers set for most URIs but not all). Looking briefly at the cache configuration for browserCachePolicy, using info.magnolia.module.cache.browsercachepolicy.FixedDuration I figured I could add voters to exclude the URIs needed. After all, FixedDuration extends AbstractVoterBased, which defines and implements canCacheOnClient which looks at the voters to define whether to cache or not. Tried, didn't work, looked at the code again, ad FixedDuration actually doesn't call canCacheOnClient at all....
isn't that a bug? If you extend a class called AbstractVoterBased, you're expected to look at voters I'd say? Of course, I can bake my own flavor of FixedDuration, but unfortunately I'd like to be able to configure this change on a live server, hence without rebuilding and deploying.... Does the above make sense? Or am I completely at the wrong track and is there a better way to achieve this? Cheers, Kees ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
