Control over browser cache lifetimes

Topics: Customizing Orchard, Troubleshooting
Apr 3, 2011 at 11:02 PM

Is there any way in Orchard to control the lifetime of a page in the browser's cache?  Out of the box it appears to set all pages to expire immediately (1/1/1970 expiration date) so even going back one page in the browser causes an entirely new page to be fetched.


Apr 4, 2011 at 9:24 PM

Not out of the box but that would be an excellent module! Shouldn't be too hard either, it's just a bunch of headers to set. I'd make that a content part so it's easy to add to existing types and easy to admin.