Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Mason 20 posts 40 karma points
    May 04, 2012 @ 10:49
    Peter Mason
    0

    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.

  • Peter Mason 20 posts 40 karma points
    May 08, 2012 @ 04:26
    Peter Mason
    0

    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...

  • Carsten Johannesen 35 posts 55 karma points
    Jun 28, 2012 @ 11:48
    Carsten Johannesen
    0

    @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...

  • Peter Mason 20 posts 40 karma points
    Jul 05, 2012 @ 07:28
    Peter Mason
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft