Optimizing the AEM Dispatcher — Easily | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
Community Manager

24-03-2021

BlogImage.jpg

Optimizing the AEM Dispatcher — Easily by Andrew Top

Abstract

After spending a lot of time getting an Adobe Experience Manager (AEM) environment together, the Dispatcher can sometimes be an afterthought. With all the variables and moving parts, a solid Dispatcher configuration is hard to achieve. And with its structure, it is easy to make small mistakes with large consequences. So, what can you do? Read on to find out.After spending a lot of time getting an Adobe Experience Manager (AEM) environment together, the Dispatcher can sometimes be an afterthought. With all the variables and moving parts, a solid Dispatcher configuration is hard to achieve. And with its structure, it is easy to make small mistakes with large consequences. So, what can you do? Read on to find out.

Adobe has open sourced the Dispatcher Optimizer Tool (DOT) that parses and analyzes the Dispatcher configuration based on a set of extensible rules. It provides detailed information about the syntax errors it finds and configuration values that contradict best practices. It even includes the same scanning and analysis for the Apache Httpd configuration, if one is present. The findings are reported complete with file location and line number. Documentation links are included, explaining why the violations are important to fix, and how to fix them.

All that, and it is easy to setup and run using the DOT Maven Plugin!
->To learn how to use it, we are presenting a small, hands-on tutorial:
https://github.com/adobe/aem-dispatcher-experiments/tree/main/experiments/optimizer

Quickly learn how to add a few lines to your pom.xml file, run the tool, scan the results, and fix a violation or two. It will help take the complexity out of the Dispatcher configuration — guaranteed!

Read Full Blog

Optimizing the AEM Dispatcher — Easily

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager