RWS / dxa-web-application-dotnet

SDL Digital Experience Accelerator .NET MVC web application
Apache License 2.0
19 stars 35 forks source link

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

Open stanlk opened 4 years ago

stanlk commented 4 years ago

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.

IMAY1990 commented 3 years ago

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