Sitecore's HTML caching can be disabled through the
cacheHtml parameter on the website's definition. This is handy for a preview site that directly reads from the Master database.
Can the same be done for the GlassMapper cache?
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.Sign up to join this community
Yes, use the
glassCache attribute. A value of anything other than
false means the cache will be enabled for that site: