I sense this should be an easy solution. The case is the following: every week our communications department publishes new articles. Our visitors spike when they send emails advertising the new articles. You can see the articles either as an anonymous user or you can be logged in.
I would like it if EpiServer could cache the articles for anonymous users, but not for logged in users.
How would one do this?
You can decorate your page controllers with ContentOutputCache attribute.
UseOutputCache method in EPiServer.Web.OutputCacheHandler will make sure that output cache is not used for authenticated users.
Thanks! I thought it would be something simple like this :)