In a 4.7.1 installation I have a performance issue in a gallery-section.
At a point in the codeI do this (razor):
var media = Library.MediaById(folderId); var items = media.Children;
The second row is on-and-off very slow. There is a few thousand media items in the medialibrary. In this perticular place in the code, I actually only need the first level of children (as theese are folders for displaying navigation). Is there something I can do to improve on performance here?
Occationally slow to get media children
In a 4.7.1 installation I have a performance issue in a gallery-section.
At a point in the codeI do this (razor):
var media = Library.MediaById(folderId);
var items = media.Children;
The second row is on-and-off very slow. There is a few thousand media items in the medialibrary. In this perticular place in the code, I actually only need the first level of children (as theese are folders for displaying navigation). Is there something I can do to improve on performance here?
Hi David,
Why not upgrade to a higher latest version may be v 4.11.8 ?
At some point i had the same issue with some older version of umbraco especially where i have over 200 nodes and loads of media items.
//fuji
Hello,
I think in 4.7.1 it doesn't use a cache system yet. In 4.7.2 it uses examine which should be a lot faster.
Jeroen
you could also write a custom examine search?
http://www.wiliam.com.au/wiliam-blog/web-design-sydney-using-examine-to-boost-your-umbraco-front-end-performance
is working on a reply...