Expand my Community achievements bar.

AEM best practices and development guide - Delete Unreferenced Assets AEM | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

AEM best practices and development guide - Delete Unreferenced Assets AEM by Kiran Sg

Abstract

Problem Statement:
Delete all the assets which don’t have references to improve AEM performance in turn Indexes and search/query performance.

Introduction:
How do assets get published?
The author uploads the images and publishes the assets
Create a launcher and workflow which processes assets metadata and publishes the pages
Whenever we publish any pages and if the page has references to assets, then during publishing, it asks to replicate the references as well.

What happens when the page is unpublished?
When the page is deactivated, assets referenced to the page will not be deactivated because this asset might have reference to the other pages hence out of the box assets won’t be deactivated.
If we perform cleanup, deactivate and delete old pages, we might not be cleaning up assets related to this page.

What advantages of cleaning up of old assets?
Drastically reduces repository size
Improves DAM Asset search
Improves indexing

Read Full Blog

AEM best practices and development guide - Delete Unreferenced Assets AEM

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
0 Replies