Adobe-Marketing-Cloud / aem-sample-we-retail

🚫 We.Retail has been archived, see instead the WKND Guide:
https://github.com/adobe/aem-guides-wknd
Apache License 2.0
123 stars 141 forks source link

Missing "Cache-Control: no-store" header for dynamically generated resources #125

Closed mkolmhuber closed 6 years ago

mkolmhuber commented 7 years ago

All "contexthub.commerce.*.json" references pretend to refer to static resources but in real life they are dynamically generated.

Consequently, the "Cache-Control: no-store" response header must be set in every response to a "contexthub.commerce.*.json" request to prevent the caching of a dynamically generated resource.

kwin commented 7 years ago

Please also make sure then that those resources are never cached in the dispatcher either with "Dispatcher: no-cache" then as well (https://helpx.adobe.com/experience-manager/kb/DispatcherNoCache.html)

mhaack commented 6 years ago

The "contexthub.commerce.*.json" calls are triggered by ContextHub. This is not an we.retail issue, please open a AEM Support ticket for that, if still relevant.