Hi All
In AEM as a Cloud Service, Fastly is provided as the out-of-the-box CDN. However, if a client prefers to use their own CDN , So How to restrict the OOTB CDN .anyone suggest any relevant documents or details pls .
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
@KannanCh2 The default HTML/Text caching setting can be disabled by defining the DISABLE_DEFAULT_CACHING variable in global.vars
Define DISABLE_DEFAULT_CACHING
The Surrogate-Control header applies to the Adobe managed CDN. We can use this header and set it based on our requirements
<LocationMatch "^/content/.*\.(html)$">
Header set Surrogate-Control "max-age=3600"
Header set Age 0
</LocationMatch>
Refer to below link
Check the documentation at https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/con...
+1 on @Jörg_Hoh documentation
Here is a documentation on picking the right CDN
https://www.aem.live/docs/cdn-guide
Here is another documentation for BYO CDN setup
https://www.aem.live/docs/byo-cdn-setup
@KannanCh2 The default HTML/Text caching setting can be disabled by defining the DISABLE_DEFAULT_CACHING variable in global.vars
Define DISABLE_DEFAULT_CACHING
The Surrogate-Control header applies to the Adobe managed CDN. We can use this header and set it based on our requirements
<LocationMatch "^/content/.*\.(html)$">
Header set Surrogate-Control "max-age=3600"
Header set Age 0
</LocationMatch>
Refer to below link
You might have to check with Adobe on bypassing Adobe CDN. Recommendation might be to point Customer CDN to Adobe-managed CDN.
Many caching rules are taken care of by-default (example assets). The moment we use "DISABLE_DEFAULT_CACHING", we might have more-work at hand to fine-tune the cache.
I would request you to raise an Adobe ticket for clarifications after going through the documentation shared by @Jörg_Hoh
@KannanCh2 Did you find the suggestion helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
If you are asking if you can get rid of Adobe's CDN, the short answer is NO. This is part of the Architecture of AEMaaCS, you can bring your own CDN and add it on top of Adobe's CDN but it is not really a swap nor a replace.
Hope this helps
Views
Likes
Replies
Views
Likes
Replies