I am seeing an response header being added (Expires:Thu, 01 Jan 1970 00:00:00 GMT) in AEM publish for all the requests like clientlibs/page requests and images. This is preventing the responses to be cached from dispatcher and cdn.
I don't see this being set in code base or acs commons dispatcher configs being set
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @pradeep8910
Please dispatcher and DCN settings as well.
Try accessing page with Author, Publish, dispatcher and CDN urls, to check from where the headers is appended.
Views
Replies
Total Likes
Hi @pradeep8910
Please dispatcher and DCN settings as well.
Try accessing page with Author, Publish, dispatcher and CDN urls, to check from where the headers is appended.
Views
Replies
Total Likes
Hi @pradeep8910
Try Header unset Expires in dispatcher
<LocationMatch "^\/content\/dam.*\.(xml|css|eot|gif|ico|jpg|jpeg|js|png|svg|swf|ttf|woff|woff2|pdf|txt|mp4|mp3|ics)$">
Header unset Cache-Control
Header unset Expires
Header always set Cache-Control "max-age=0"
Header always set Surrogate-Control "max-age=0"
Header set Age 0
</LocationMatch>
Views
Likes
Replies
Views
Likes
Replies