Skip to content

Commit abfe086

Browse files
Note HTML header type
Signed-off-by: David A. Wheeler <[email protected]>
1 parent 827b098 commit abfe086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

secure_software_development_fundamentals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3319,15 +3319,15 @@ If your site is publicly accessible, you can easily test your headers using the
33193319

33203320
If you are serving especially sensitive data, you should *only* serve that data from a few specific web pages and *completely* disable caching of that data on the server, client, and any proxies along the way. Disabling caches prevents accidental spills from a cache. On the server commonly-used systems for caching include memcached and Redis - disable caching of that data when you can. The safest way to ensure that the web browser and web proxy caching is disabled is through this set of HTTP headers (["How do we control web page caching, across all browsers?"](https://stackoverflow.com/questions/49547/how-do-we-control-web-page-caching-across-all-browsers)):
33213321

3322-
~~~~
3322+
~~~~html_header
33233323
Cache-Control: no-cache, no-store, must-revalidate
33243324
Pragma: no-cache
33253325
Expires: 0
33263326
~~~~
33273327

33283328
Some of these settings are only relevant to extremely old browsers. If you only care about current browsers, this HTTP header is enough to disable caching:
33293329

3330-
~~~~
3330+
~~~~html_header
33313331
Cache-Control: no-store, must-revalidate
33323332
~~~~
33333333

0 commit comments

Comments
 (0)