Settings CloudPage's response header "Cache-Control" to "no-cache,no-store", the "no-store" does not save.
Trailblazer Community

Settings CloudPage's response header "Cache-Control" to "no-cache,no-store", the "no-store" does not save.

Marketing Cloud Pages/Sites

Last updated 21 days ago ·Reference W-6057289 ·Reported By 3 users

Fixed in version Marketing Cloud Release October 2020

Summary
CloudPages sets the "Cache-Control" HTTP Header to "no-cache" regardless of what is done via SSJS Platform methods such as "HTTPHeader.SetValue.

CloudPages should respect what the customer passes in via SSJS and allow them to use that value for Cache-Control.

Repro
1) Create a CloudPage

2) Insert the following HTML in the CloudPage



<script runate="server">

Platform.Load("Core", "1");

HTTPHeader.Remove("Cache-Control");

HTTPHeader.SetValue("Cache-Control", "no-store");

</script>


3) Access the page in developer mode in a browser and check the response headers.

Workaround
No workaround available at this time.

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.