Copied to clipboard

Flag this post as spam?

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


  • Sunnefa 22 posts 41 karma points
    Apr 01, 2016 @ 16:56
    Sunnefa
    0

    Very slow performance on media nodes

    Hi,

    I've managed to get media protect to work for us, however, we are experiencing very slow performance on all media, not just the protected ones. Is there any setting or a bug that might be causing it?

    Regards, Sunnefa

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Apr 01, 2016 @ 17:02
    Richard Soeteman
    0

    It's because of image cropper and propably a lot of nodes. Image cropper is stored in a Ntext field which is slower in queries than a nvarchar field for a normal media filename

  • Sunnefa 22 posts 41 karma points
    Apr 01, 2016 @ 17:05
    Sunnefa
    0

    So there is nothing we can do then? That just means we can't use this package because this is having a very adverse effect on our website...

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Apr 01, 2016 @ 17:33
    Richard Soeteman
    0

    If you use normal media pickers for these fields and set useimagecropper in mediaprotect.config performance will increase.

  • Amalie Wowern 144 posts 273 karma points c-trib
    Jun 22, 2016 @ 13:38
    Amalie Wowern
    0

    We have the same issue. On our site we have a place where we let the users go through a part of the media library - we are loading the media files on request for each folder.

    And it takes 5 seconds for 5 files and two folders

  • Amalie Wowern 144 posts 273 karma points c-trib
    Jun 22, 2016 @ 13:46
    Amalie Wowern
    0

    And we are using MediaProtect.Library.Library.HasAccessit takes 650ms per item

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jun 23, 2016 @ 07:24
    Richard Soeteman
    0

    Please make sure to disable Imagecropper support on large sites in mediaprotect.config.

    We are working on a new mechanism that doesn't access the database anymore.

    Hope this helps for now,

    Richard

  • Amalie Wowern 144 posts 273 karma points c-trib
    Jun 23, 2016 @ 07:27
    Amalie Wowern
    0

    Unfortunately its already set to false

      <protectCropperImages>false</protectCropperImages>
    

    Looking forward the new mechanism

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Nov 03, 2016 @ 16:34
    Richard Soeteman
    0

    Hi,

    Sorry that it's taken too long but finally V2 is release which solves this issue. All protected items will be indexed and now it's only a fast query on the index to determine if the media item is protected or not.

    Hope this helps,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft