私はこれを私のweb.configに持っています:
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="Cache-Control" value="max-age=30,public" />
</customHeaders>
</httpProtocol>
</system.webServer>
しかし、ページをロードすると、これは応答ヘッダーです。
Cache-Control: private,max-age=30,public
これは ASP.NET MVC アプリケーションであり、コントローラーにはキャッシュ ディレクティブがどこにも指定されていません。