I have identified a performance issue with our S3 ECL provider. Its an improvement based on https://github.com/vikaskumar185/S3ECLProvider
I am seeing Tridion is downloading thumbnails into ~SDLWeb\web\WebUI\WebRoot\ThumbnailCache for every subsequent request when we open directories in CMS mount point. (i mean to say when a fresh browser opened)
So in production scenario Tridion is not at all using the etag thumbs from cache folder and consuming lot of CPU% while generating thumbs for every request.
I can confirm thumb cache utilization is good in case of the images uploaded in tridion.
So how to prevent Tridion from calling below method when thumb is already available in cache.
public byte[] GetThumbnailImage(IEclUri eclUri, int maxWidth, int maxHeight)
{
// if IsThumbnailAvailable of IContentLibraryListItem is set to True
return S3Provider.HostServices.CreateThumbnailImage(maxWidth, maxHeight, ms, null);
//or
return null;
}
Version: SDL Web 8.5