How to set Cache-Control to no-cache
Service Studio Version
11.11.4 (Build 43812)

How to remove the Cache-Control: private 

when updating the webconfig in factoryconfiguration.

it doesn't replace the value it only appends it with what we assign

here is our factoryconfiguration values

            <add name="X-Frame-Options" value="SAMEORIGIN" />

            <add name="X-XSS-Protection" value="1; mode=block" />

            <add name="Access-Control-Allow-Origin" value="" />

            <add name="Access-Control-Allow-Credentials" value="true" />

            <add name="Cache-Control" value="no-cache" />

also raise this to my previous post. How to Implement HTML5 Security Standard

Appreciate anyone solved this issue.


Hi there,

I had to look this up, but it seems this has nothing to do with the Factory Configuration tool nor with OutSystems in general.

Apparently IIS adds the private cache response directive by default for all requests, so whatever value you add to the Cache-Control header gets appended to the default private value.

If you want to remove the private value, you can refer to some of the solutions mentioned in the following external posts (no guarantees that they work).

And there are many more posts around this topic on the Internet that might help you further.

Hope this helps!



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.