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
I noticed while debugging an ascx file set up through a macro that the Page_Load event is only hit again if I wait 60 seconds after the first load.
Setting the cache duration on the macro has no effect and trying to set a cache directive on the ascx file itself is not allowed.
Any suggestions as to why I can't seem to get the Page_Load method to fire more than once every 60 seconds?
Rgds.
I haven't been able to fix this yet.
I'd like to fix this as it is causing unexpected behaviour in my page if the user refreshes before a minute has elapsed.
Hopefully someone will see this...
@Peter
Maybe you should follow this post
http://our.umbraco.org/forum/developers/api-questions/8584-Severe-Issue-with-macro-caching-under-heavy-load?p=13#comment120913
- it concerns caching of User Controls (*.ascx) in Umbraco and problems with that...
Carsten, Thanks for the heads-up but I think the key issue you are facing is to do with load.
My issue happens in my testing environment when it's just me, so a load of 1.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Page_Load in .ascx only fires again after 60 seconds??
I noticed while debugging an ascx file set up through a macro that the Page_Load event is only hit again if I wait 60 seconds after the first load.
Setting the cache duration on the macro has no effect and trying to set a cache directive on the ascx file itself is not allowed.
Any suggestions as to why I can't seem to get the Page_Load method to fire more than once every 60 seconds?
Rgds.
I haven't been able to fix this yet.
I'd like to fix this as it is causing unexpected behaviour in my page if the user refreshes before a minute has elapsed.
Hopefully someone will see this...
@Peter
Maybe you should follow this post
http://our.umbraco.org/forum/developers/api-questions/8584-Severe-Issue-with-macro-caching-under-heavy-load?p=13#comment120913
- it concerns caching of User Controls (*.ascx) in Umbraco and problems with that...
Carsten, Thanks for the heads-up but I think the key issue you are facing is to do with load.
My issue happens in my testing environment when it's just me, so a load of 1.
is working on a reply...