Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Better admin control over page cache

Vote:
 
In EPiServer 4.62 the cache timeout is controlled via web.config, using EpnPageCacheTimeout. This takes a value in hours. However we are using SQL Server replication to copy content continually from a staging/edit server to a live server, and would like to use a cache timeout well under an hour to ensure updates appear quickly, without crippling performance. Can EpnPageCacheTimeout be changed to take a value in minutes? Also, it would be very useful to have a "clear cache now" function in admin. Both things can be achieved with the EPiServer.DataFactoryCache class, but it would be great if we didn't need to write code to do it.
#18858
Feb 11, 2008 19:41
Vote:
 

The cached pages are "sliding", so pages that are accessed more often than the timeout will never be thrown out anyway.

But, since EPiServer CMS 5 this setting for cache timeout is a TimeSpan which means you have full control over it, from days to milliseconds. But it is still sliding.

#19181
Mar 28, 2008 18:49
This thread is locked and should be used for reference only.
* 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.