In AEM ,I have seen project where we have used custom image rendition servlet (Generating rendition on fly) or DAM update Asset workflow.
If we are using custom image rendition servlet ,It has certain benefits(Named Transform Image Servlet ).
1. can create new image rendition on the fly based upon configuration .
2. Save space in AEM .
3. Also performance vice ,the image are cached in dispatcher for both author and publisher ,so only rendition creation only for the first time.
Limitation
1.New image rendition need to created if cache is cleared.
if we are using DAM update Asset workflow, It has certain limitation.and benefits.
Limitation
1. whenever author upload image this workflow trigger new rendition are created for every image and at at time we dont need all rendition.
2 if we are migrating large asset ,it is again bottleneck.
3. take additional space in author and publisher as well for all images
Benefits
1. new image rendition is not created every time but just once .
Question:
If I evaluate from above reasoning i believe that image rendition servlet is more useful in term of saving space and load on author and publish server .
Is the above approach is recommendation/best practice from adobe or if someone have completely different perspective.
Solved! Go to Solution.
Views
Replies
Total Likes
Performance wise:
You can create a sample page with two different implementations and check the load time of the page for the first time and subsequent times to record the performance metrics. Take decisions based on it.
I could say it depends on the requirement.
If showing images in the multimedia section like displaying photos in an album rendition is better.
If displaying smaller thumbnails rendition size which is not going to be used anywhere on the site you can use adaptive image/named transform image. Instead of having that thumbnails rendition size to be stored by the author and publish's DAM.
Let's discuss two approaches:
I have few comment for cons on Create image on the fly and pros of workflow
Pros:
The question that i have in mind is how creating image on fly vs dam renditon has performance impact when we create image on the fly for first time because then and only then we are creating the image (generally this is overcome once you do smoke testing)
Performance wise:
You can create a sample page with two different implementations and check the load time of the page for the first time and subsequent times to record the performance metrics. Take decisions based on it.
I could say it depends on the requirement.
If showing images in the multimedia section like displaying photos in an album rendition is better.
If displaying smaller thumbnails rendition size which is not going to be used anywhere on the site you can use adaptive image/named transform image. Instead of having that thumbnails rendition size to be stored by the author and publish's DAM.