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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...