Try our conversational search powered by Generative AI!

Caching of page property

Vote:
 

we are create settings properties on the start page to enable/disable features. We are accessing these properties at many places in our application. Will there be any perfomance issues ?

I am of the view that PageData  objects cached by the Episerver by default.

Thanks in adavace,

-Avin

#183435
Oct 13, 2017 10:55
Vote:
 

Episerver caches IContent with sliding expiration for 12 hours (default value, can be configured by setting pageCacheSlidingExpiration in web.config), but I never rely on that :)

Keeping settings on the start page will work fine.

However, there are so many things going on under the hood before ContentProvider executes cache.ReadThrough, so custom caching solution with ISynchronizedObjectInstanceCache would be a better option performance-wise (which also increases the complexity of the solution).

#183446
Oct 13, 2017 14:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.