[FIXED] Backoffice performance (v12): NuCache updates after (un)publish
a
Hi all, We're running an Umbraco 12.3.5 (upgraded from Umbraco 11) installation with 200+ websites in it, consisting of ~100k nodes in total. We have a similar environment running in Umbraco 7.15, without any problems in 10+ years. What I'm noticing is that (un)publishing a node is slower than it always was. After hitting 'Save and publish' or 'Unpublish', it takes around 7-10 seconds for the command to complete. In live and in development environment. I can't believe we had this problem before upgrading to Umbraco 12. Memory usage for the IIS process is significantly higher as well (~1.5GB in U12 vs ~1GB in U11). Anyway, I've narrowed it down to the following logfile lines (see attachment) - that's an example of an unpublish with a delay in it. As you can see, the whole process takes around 9 seconds to complete and refers to Examine indices. These log lines are similar for every (un)publish. However, the order of lines differ (async code?), but it looks like Examine / Lucene isn't performing well. I've tried to shut Examine off, but that doesn't fix the problem either: https://umbracare.net/blog/how-to-disable-examine-indexing-in-umbraco/ As I've literally spent hours scrolling through the Umbraco source code and turning custom features off, I can't get my head around it. Can somebody point me in a direction for where to look? Is it possible to turn off Examine/Lucene completely, just to rule this out as being the issue? Or could this be due to other components? Thank you very much! Arne https://cdn.discordapp.com/attachments/1199044069695959080/1199044070169907210/2e38b77a-1a95-4e9b-84ea-9b8af660e736.png?ex=65c11bcf&is=65aea6cf&hm=42466818ee86c9704ea998a2f9dc5e8a6776d78dddb7ac501497bcc53cf77d0c&
Fixed it. Appeared to be a NuCache issue after (un)publishing content. So it was a caching/indexing issue but not due to Lucene/Examine, but NuCache. This line does the trick. Stumbled upon a topic on Our Umbraco last week, but didn't link it to my issues. Maybe update the docs? It also improves __updating__ the NuCache files, together with the rebuilding process! https://docs.umbraco.com/umbraco-cms/reference/configuration/nucachesettings#usepagedsqlquery https://cdn.discordapp.com/attachments/1199044069695959080/1199372345836585083/2eff4aa3-3bdb-4547-8736-320ffab54831.png?ex=65c24d8a&is=65afd88a&hm=587be68609936dafb6ca8aaf19955cd7d1e73ef927f5f95e6ab7485088fe2a97&
8 Views