EPiServer Output Cache clearing for no reason

456 Views Asked by At

We recently put live EPiServer output caching, this works fine locally and on our staging sites. For some reason since going live yesterday pages don't seem to stay in the cache for long, if at all. I can't see any obvious reason for this aside from genuine traffic?

To implement caching I added [ContentOutputCache] to the get methods of certain controllers. Then updated the Application Settings with the following:

uiUrl="~/EPiServer/CMS/" httpCacheExpiration="12:0:0" httpCacheVaryByCustom="path" httpCacheVaryByParams="id,epslanguage"

Has anyone seen anything like this before. I can't figure out why the cache keeps being dropped. Interestingly chrome tells me that the content is coming from the cache but the page load time is upwards of 20 seconds at times ... other times it's instant (when the caching is working).

I am not logged in to the CMS and no one is publishing anything.

Please let me know if you need any more info as always any help greatly appreciated on this.

Thanks,

Dan

0

There are 0 best solutions below