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
Hi,
I just set the Cache period on one of my macro's to 120 seconds and put the line below in the macro's user control.
Generated at <%= DateTime.Now.ToString() %>
It still generates a new date/time at every page refresh. I also tried enabling Cache by page.
Shouldn't the time stay the same for 120 seconds?
Embedded code in the ASCX will not be cached, only the stuff in codebehind (.cs)
Hope that helps,Matthew
It works now. thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Is my macro caching working or not?
Hi,
I just set the Cache period on one of my macro's to 120 seconds and put the line below in the macro's user control.
Generated at <%= DateTime.Now.ToString() %>
It still generates a new date/time at every page refresh. I also tried enabling Cache by page.
Shouldn't the time stay the same for 120 seconds?
Embedded code in the ASCX will not be cached, only the stuff in codebehind (.cs)
Hope that helps,
Matthew
It works now. thanks
is working on a reply...