Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to host and loaded images from CDN to improve site performance?

narayana_chirra
Level 3
Level 3

Hello Everyone,

 

Is there any reference or article on how to host and load the font files, DAM Assets from Akamai? 

We are trying to improve our site page load performance.

 

Thanks,

Narayana

aem6.5 DAM Assets Page load performance issue performance
1 Accepted Solution
davidjgonzalezzzz
Correct answer by
Level 5
Level 5

The way to do this (especially when talking about DAM Assets, which need to have a canonical source in AEM) is to simply put a CDN in front of Dispatcher/AEM.

 

If youre talking about AEM Author, you can cache Clientlibs on the CDN, but you must expire them after ANY code deployment. Never cache DAM Assets on AEM Author as this will result in content mis-matches, and result in a broken experience.

 

If youre talking about AEM Publish, you can cache both Clientlibs and Assets on the CDN. You would set up the flow like so:

 

Web browser -> (http request) -> CDN -> (reverse proxy) -> AEM Dispatcher -> (reverse proxy) -> AEM Publish

 

The CDN should be able to provide you with a way to set caching rules on various URL patterns. As for articles/blogs - looks like Google has a number of them.

 

 

 

 

View solution in original post

1 Reply
davidjgonzalezzzz
Correct answer by
Level 5
Level 5

The way to do this (especially when talking about DAM Assets, which need to have a canonical source in AEM) is to simply put a CDN in front of Dispatcher/AEM.

 

If youre talking about AEM Author, you can cache Clientlibs on the CDN, but you must expire them after ANY code deployment. Never cache DAM Assets on AEM Author as this will result in content mis-matches, and result in a broken experience.

 

If youre talking about AEM Publish, you can cache both Clientlibs and Assets on the CDN. You would set up the flow like so:

 

Web browser -> (http request) -> CDN -> (reverse proxy) -> AEM Dispatcher -> (reverse proxy) -> AEM Publish

 

The CDN should be able to provide you with a way to set caching rules on various URL patterns. As for articles/blogs - looks like Google has a number of them.

 

 

 

 

View solution in original post