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:
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.
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
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?
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:
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
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
hi Sander - thanks for replying. No, no controllers using ContentModel as a param in this site
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.
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
hi Dave, thanks for your reply, i somehow missed it.
Our settings are:
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:
is working on a reply...