Storing assets

Magnolia DX Core 6.4 leverages the Digital Asset Management (DAM) module for managing assets such as images, videos, and documents. In some cases, you may have quite a lot of assets to manage.

How to handle many assets

The DAM supports a large number of assets. However, if you have more than 10 000 assets, organize them into folders.

If your asset count significantly exceeds 10 000, consider integrating an external storage system using our External DAM integration framework, our DAM API, or one of our Incubator modules extensions.

How many assets should I put in a folder?

For best performance with JCR assets, limit each folder to around 500 assets regardless of type (images, PDFs, etc.)

Use subfolders to stay organized and avoid performance issues.

  • Avoid placing too many assets in a single folder.

  • Use subfolders to improve performance and maintain structure.

How to handle large assets

We don’t recommend using publication for any assets above 2 GB. You should store anything of that size in an external DAM system and reference it from Magnolia.

Want to know more details about publishing assets?

When you publish an asset, it is fetched from the DB into the app server, converted from binary into a base64 encoded stream, and zipped for transfer. Likewise, on the receiving end, it’s unzipped, decoded, and pushed from the app server to the DB. Because of that, publishing huge assets is slow and resource-intensive for both author and public servers.

Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Performance tuning guide docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules