Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How I can add usercontrol result to Umbraco cache? I want to add result of my usercontrol that exsist in dashboard
Hi Anton,
You can do this by using ASP.NET's own caching mechanism; by adding this line to the your ASCX user-control:
<%@ OutputCache Duration="120" %>
Change the "Duration" to however many seconds that you'd like to cache it for.
More details on MSDN: here and here.
Cheers, Lee.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Add usercontrol result to Umbraco cache
How I can add usercontrol result to Umbraco cache? I want to add result of my usercontrol that exsist in dashboard
Hi Anton,
You can do this by using ASP.NET's own caching mechanism; by adding this line to the your ASCX user-control:
Change the "Duration" to however many seconds that you'd like to cache it for.
More details on MSDN: here and here.
Cheers, Lee.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.