wcm-io-devops / conga-aem-definitions

Generic role definitions and templates for CONGA-based AEM configurations.
https://devops.wcm.io/conga/definitions/aem/
Apache License 2.0
1 stars 8 forks source link

Remove User-Agent from vary header to improve cache-hit-ratio on CDN #92

Closed mrozati closed 7 months ago

mrozati commented 7 months ago

As of Adobe documentation the line: Header append Vary User-Agent env=!dont-vary should be removed from all vhost files, except for default.vhost, which is read-only https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/caching#further-optimizations

This is already fixed in Adobe's Archetype https://github.com/adobe/aem-project-archetype/issues/680 https://github.com/adobe/aem-project-archetype/pull/669/files

and should be removed also in the aem-definitions role https://github.com/wcm-io-devops/conga-aem-definitions/blob/develop/conga-aem-definitions/src/main/templates/aem-dispatcher-cloud/conf.d/available_vhosts/tenant.vhost.partials.hbs#L60

mrozati commented 7 months ago

I close this issue because the line does not exist in template.