Copied to clipboard

Flag this post as spam?

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


  • andrew shearer 510 posts 659 karma points
    Feb 23, 2023 @ 07:31
    andrew shearer
    0

    Backoffice requests sporadically taking a long time (approx 19 seconds)

    Hi – has anyone seen anything along these lines? Every so often requests for backoffice assets suddenly take approx. 19 seconds. It doesn’t seem to be the same url/file every time, but the load time seems to be the common dominator. For example:

    enter image description here enter image description here

    refreshing again and things seem back to normal (reasonable load times), but then it will occur again.

    This is on Umbraco 10.3.2

    Any starting points/things to investigate appreciated.

    Thanks

    andrew

  • Sander Los 27 posts 160 karma points
    Feb 23, 2023 @ 19:29
    Sander Los
    0

    Are you using ContentModel in a render controller as a parameter? Changing that to having a parameter less constructor and using CurrentPage instead solved issues we had with long load times

  • andrew shearer 510 posts 659 karma points
    Feb 23, 2023 @ 23:57
    andrew shearer
    0

    hi Sander - thanks for replying. No, no controllers using ContentModel as a param in this site

  • Sander Los 27 posts 160 karma points
    Feb 24, 2023 @ 08:28
    Sander Los
    0

    I was reading it a bit wrong (on the couch scrolling through) and missed the backoffice part. No idea why it suddenly takes that long.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Feb 24, 2023 @ 09:42
    Dave Woestenborghs
    0

    Hi Andrew,

    Are you running in debug mode. And what is your configuration for Runtime minification.

    https://docs.umbraco.com/umbraco-cms/reference/configuration/runtimeminificationsettings

    I have seen this also happening and it had to do with runtime minification settings.

    Dave

  • andrew shearer 510 posts 659 karma points
    Mar 14, 2023 @ 01:51
    andrew shearer
    0

    hi Dave, thanks for your reply, i somehow missed it.

    Our settings are:

                "RuntimeMinification": {
                "useInMemoryCache": true,
                "cacheBuster": "AppDomain"
            },
    

    which if i read that documentation page correctly, are suitable for production? what did you need to change your settings from/to to resolve the issue?

    many thanks

    Andrew

    EDIT: no, not running in debug mode either:

                "Hosting": {
                "Debug": false
            },
    
Please Sign in or register to post replies

Write your reply to:

Draft