For an AEM Edge Delivery Service website, how do we customize how long a .jss .css .pdf .png .jpeg file types get cached?, we want to set up custom configuration for each file extension, how can this be done?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
You can add custom cache-control header using headers sheet
https://www.aem.live/docs/custom-headers
You can add custom cache-control header using headers sheet
https://www.aem.live/docs/custom-headers
Hi Arun,
I was able to follow the document from given link and able to add custom headers from .helix/headers -
Custom headers which are working
url Key Value
** Publisher EDS
but could not get that working for "cache-control":"max-age=120, public".
url Key Value
** Cache-Control max-age=120,public
Can you please guide me here If I am doing anything wrong.
Views
Replies
Total Likes
Hi @PradeepMC1
Are you trying on local Setup or with actual domain?
Seems cache-control header is being overriden by CDN , example https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/edge-delivery/la...
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies