Since I got a new laptop, the backoffice in Umbraco on localhost has really bad performance. The website on the frontend is super fast, however if there are images that are fetched from an api (for example a custom controller to get the right crop), those are also loaded slow, like the backoffice. My guess is that there is something wrong with my SQL Server (developer edition) setup or similar configuration on my laptop.
The weird thing is that the exact same setup worked perfectly fine on my old laptop. Both laptops got Windows 11, and the same version of software installed to make localhost work. My localhost project is using Umbraco 10.8.8, and is a clone of a Cloud project. When I access the backoffice, most of the times I need to wait for about 30 seconds to show to content tree. I checked the network tab, and saw that the "/umbraco/backoffice/umbracotrees/applicationtree/GetApplicationTrees?application=content&tree=&use=main" call is stuck waiting for server response for more than 25 seconds. However this is completely random. Sometimes the backoffice just needs 3 seconds to load. This randomness got me to think there is some kind of scheduled task working in the background that slows the performance or locks the database, but I disabled all of the (custom) scheduled tasks of the project, so this can't be it.
If it was only the content tree in the backoffice that loads for 30 seconds, I could live with it, but there is more. Often when I access the media or settings tab in the backoffice, it keeps loading and eventually giving me timeouts. I tried to delete the TEMP folder, and rebuilding the indexers. Most of the times when rebuilding the indexers it gives me a timeout, and it didn't complete.
What I also tried was firing up a complete different project in Visual Studio, and experimenting if the backoffice is also slow in other projects, but it seemed to be loading fast. So on the one hand there could be something wrong with my project, or my configuration
https://cdn.discordapp.com/attachments/1344605280281038849/1344605280540819486/Timeout-populating-indexers.png?ex=67c184c0&is=67c03340&hm=f25a04a3a145bc9819ef42a46e26d77d99b22fcc802fdfb46744dc2a954d7b1a&