A major upgrade is the best time to look at the speed of an Adobe Experience Manager site. Code, configuration and infrastructure are all being touched anyway. It is also when performance quietly gets worse, because a cache rule is lost, an index is not rebuilt or a custom component behaves differently.
This checklist covers what to record before the upgrade, what to review in each layer, and how to confirm the result afterwards.
Know which deployment model you are tuning
Adobe Experience Manager runs in two broad ways, and the work differs.
- AEM as a Cloud Service: Adobe applies updates continuously, and you deploy your code through Cloud Manager pipelines. Part of the delivery stack, including a CDN, is managed for you. Your levers are mainly your own code, your dispatcher configuration and your content.
- On-premise or Adobe Managed Services: you or your partner install service packs and security fixes. You have more control over the Java runtime, the JVM settings, the repository and the servers, and more responsibility for them.
Many of the items below apply to both. Where one depends on your setup, it says so. Check the vendor documentation for your model before changing anything, and keep an eye on Adobe’s security bulletins, because security fixes and performance work are often scheduled together.
Record a baseline before you change anything
You cannot judge an upgrade without a before picture. Choose a small set of representative pages and measure the same ones every time:
- The home page.
- A heavy template, such as a listing or search results page.
- An article or product detail page.
- A page with a form or personalised content.
For each page, record the field and lab metrics described on web.dev’s Core Web Vitals page: Largest Contentful Paint, Interaction to Next Paint and Cumulative Layout Shift. Add server response time, total page weight and the number of requests. Save the results somewhere the whole team can find them.
Also note your cache hit behaviour on the publish tier. If you can read dispatcher logs, record how often requests reach the Java instance versus how often the cache answers them.
Caching: keep the dispatcher doing the work
In a typical Adobe Experience Manager setup, the dispatcher sits in front of the publish instances. It caches rendered pages and static files, and it is the biggest single factor in how fast anonymous visitors are served. Review it first.
- Compare configuration files. After an upgrade, check that your dispatcher rules, filters and cache rules are what you expect, not defaults that replaced them.
- Find uncached pages. Query strings, cookies and headers that you did not intend can stop a page being cached. Test a few URLs and confirm they come from the cache.
- Review invalidation. When authors publish, the publish tier flushes cached files. Confirm that flushing still works, and that it is not too broad, because clearing too much sends all traffic back to the Java instance at once.
- Set sensible cache headers for static assets, so browsers and any CDN in front can keep them. If you use a CDN, check which layer owns which rule so they do not conflict.
- Use time-based expiry where it fits. The dispatcher can support time-to-live caching for content that changes on a schedule. Check what your version and setup allow.
Personalised or logged-in content cannot be cached the same way as public pages. Where only part of a page is dynamic, keep that part small and load it separately.
Images: the usual cause of heavy pages
Images are often the largest part of a page, and they are mostly an editorial and template problem rather than a server problem.
- Use the Core Components Image component where your project has adopted it. It supports responsive widths and lazy loading, so browsers fetch an image no bigger than they need. Check that your own custom image components do the same.
- Review renditions in Assets. Look for oversized originals being served directly, and for renditions that nobody uses.
- Consider Dynamic Media if your licence includes it. It can deliver resized and optimised images on request. Whether it is available depends on your plan and setup.
- Do not lazy-load the main image at the top of the page. It is usually the Largest Contentful Paint element and should load early.
- Set width and height on images so the layout does not jump while they load.
Scripts and styles: client libraries
Adobe Experience Manager delivers CSS and JavaScript through client libraries (clientlibs). Over years, they tend to collect code nobody remembers adding.
- List every client library loaded on your key templates and remove the ones nothing depends on.
- Make sure minification and concatenation are active in production, so each page needs fewer and smaller requests.
- Load non-critical JavaScript late, using
deferor by moving it to the end of the page, as described in the MDN documentation for the script element. - Audit third-party tags, such as analytics, chat widgets and personalisation scripts. Each one adds requests, and they are often the biggest source of slow interaction.
- Check that old libraries bundled into your project still work after the upgrade, and replace those that have been superseded.
Repository, queries and hosting
Behind the dispatcher, Adobe Experience Manager stores content in its Oak repository. Slow pages on an uncached request are often slow because of how the code reads from it.
- Review custom queries. A query without a suitable index can scan far more content than needed. Check your custom index definitions after the upgrade, and see whether any need to be rebuilt or updated for the new version.
- Look at component code. Components that run queries or walk large content trees on every render are better replaced with cached or pre-computed results.
- On-premise and Managed Services: confirm the JVM memory settings, the Java version supported by your target release, and available disk and CPU. Settings carried over from an old install may no longer fit.
- Cloud Service: use the quality checks in your Cloud Manager pipeline, and treat any warnings about code patterns as performance hints as well as quality ones.
Check the product documentation on Adobe Experience League for the guidance that matches your release and deployment model.
Measure the result the same way
After the upgrade, run the same tests on the same pages, from the same location and device profile. Use a staging environment first, with realistic content and a warm cache, and again on production once live.
- Compare each page against the saved baseline.
- Check the dispatcher cache behaviour, not just page times.
- Look at the slowest uncached requests and trace each one to a query, a component or an external call.
- Keep watching field data for a few weeks, because lab tests do not capture real devices and networks.
- Write down what changed, so the next upgrade starts from a better baseline.
Frequently asked questions
Should I tune performance before or after the upgrade?
Do both, in a particular order. Take the baseline first, then upgrade, then compare. If you fix known problems before upgrading, you will not be able to tell whether a change came from the upgrade or from your own work.
Does AEM as a Cloud Service need less performance work?
Some infrastructure work is handled for you, but your components, queries, images, scripts and dispatcher rules still determine how fast pages are. Cloud Service reduces server upkeep, not the need to measure.
Why is the site slow only for some visitors?
Anonymous visitors usually get cached pages, while logged-in or personalised requests may bypass the cache. Test both kinds of request separately and compare them with your field data.