dxa-web-application-dotnet icon indicating copy to clipboard operation
dxa-web-application-dotnet copied to clipboard

Output Cache is caching even if there is an error on the page

Open stanlk opened this issue 5 years ago • 1 comments

We noticed that Output Cache cached our page that had some exception. After we republished configuration, page was fixed. However, because it was cached, we still saw error on the page. It would be nice to skip caching if any of child actions failed.

stanlk avatar Sep 25 '19 22:09 stanlk

Hey, just wondering if a solution or workaround has been found for this issue as I'm running into it on a project I'm working on. Only option so far seems to be disabeling viewModel-caching but that would probably suck for overall performance

IMAY1990 avatar Apr 06 '21 13:04 IMAY1990