Copied to clipboard

Flag this post as spam?

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


  • David W. 159 posts 284 karma points c-trib
    Feb 06, 2014 @ 14:41
    David W.
    0

    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?

  • Fuji Kusaka 2203 posts 4220 karma points
    Feb 06, 2014 @ 16:41
    Fuji Kusaka
    0

    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

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 06, 2014 @ 17:57
    Jeroen Breuer
    1

    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

  • Mike Chambers 636 posts 1253 karma points c-trib
    Feb 07, 2014 @ 10:10
Please Sign in or register to post replies

Write your reply to:

Draft