How to Reduce Server Load by optimizing DAM Asset workflow

Question, Issue

How do I disable Sub Asset generation for DAM assets? This feature is causing some performance degradation in CQ5/DAM and we do not use the sub assets in our application.


When some of the documents are added through DAM (For example PPT, Image, Doc, PDF) then the system automatically generates a sub asset for each page in the file. This process creates thumbnails and/or meta data for each page within a document (such as a PDF). This process can add unnecessary load to your server especially if you have documents with many pages. In an OOTB CQ5 installation these sub assets are not used for any purpose. Thus, if you are not using sub assets in your application then you may safely disable the this process.

Answer, Resolution

The process below describes how to disable sub asset generation.


In order to disable sub-asset generation in CQ5.3, please follow these steps: This is done by deleting the Process Sub Asset step from the DAM Update Asset workflow.

Before deleting the workflow step, we must take a backup of the workflow model.
To backup the workflow model, do the following:

  1. Log into CQ5 author as admin
  2. Go to /etc/packages.list.html
  3. Click the Create Package button in the bottom right corner of the page
  4. Enter a Group and Name and click OK
  5. Add a new Filter Definition with the Path /etc/workflow/models/dam/update_asset
  6. Click the Build button

To disable Sub Asset generation, do the following:

  1. Open the Workflow Administration tool by going to /libs/cq/workflow/content/console.html or by clicking the Workflow button after logging into CQ5
  2. Select the Models tab
  3. Double click the DAM Update Asset workflow model
  4. Delete Process Sub Asset step from DAM Update Asset workflow model.
  5. Click on save.
  6. Note that now sub asset directory won't get created for certain type of files.

Note: If you want to restore the sub asset generation step again, then do the following:

  1. Go to /crx web application and log in as admin
  2. Open CRX Explorer
  3. Navigate to /etc/workflow/models/dam/update_asset
  4. Click on Version button on top and click on Checkout (If nodes are not checked out before you install then you might get a javax.jcr.version.VersionException: Unable to perform operation. Node is checked-in. (, line 576) exception)
  5. Open the CRX Package Manager
  6. Install the backup package


In order to disable sub asset generation on CQ5.2.1, please follow these steps:

  • Create a backup package of the workflow-model to be changed
    • /etc/workflow/models/dam/dam_asset_syncer_and
  • Goto the Workflow Admin Console (/libs/workflow/content/console.html)
  • In the Models tab, double-click on the DAM Asset Sync and Metadata Extractor workflow-model to edit it
  • Locate the Process Subassets workflow-step and remove it
  • Save the model

Applies to

CQ5.2.1, CQ5.3


Krijg sneller en gemakkelijker hulp

Nieuwe gebruiker?