Does the ASP.NET OutputCache directive actually cache or just set some Response properties?
-
05-10-2019 - |
Question
When someone uses the OutputCache directive in an ASP.NET WebForms/MVC application, does it actually do any caching server-side, like using the Cache or does it only setup some properties in the Response object like the Cache-Control property?
Cheers :)
Solution
Output Caching caches the entire rendered markup of an ASP.NET web page or User Control for a specified duration.
OTHER TIPS
It caches the results and stores them in memory on the server.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow