Home » FAQ » ASP.NET » Custom Controls » How can the output cache can be enabled?
Output Cache can be enabled by the following line
<%@ OutputCache Duration='60'%>
This will make the page to be cached for 60 seconds.
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with