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?
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
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
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.
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
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
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...
If you use normal media pickers for these fields and set useimagecropper in mediaprotect.config performance will increase.
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
And we are using MediaProtect.Library.Library.HasAccessit takes 650ms per item
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
Unfortunately its already set to false
Looking forward the new mechanism
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
is working on a reply...