SEC-2331: Include Expires: 0 in xsd and appendix
This commit is contained in:
@@ -265,7 +265,7 @@
|
||||
It enables easy configuration for several headers and also allows for setting custom headers through
|
||||
the <link linkend="nsa-header">header</link> element.
|
||||
<itemizedlist>
|
||||
<listitem><literal>Cache-Control</literal> and <literal>Pragma</literal> - Can be set using the
|
||||
<listitem><literal>Cache-Control</literal>, <literal>Pragma</literal>, and <literal>Expires</literal> - Can be set using the
|
||||
<link linkend="nsa-cache-control">cache-control</link> element. This ensures that the
|
||||
browser does not cache your secured pages.</listitem>
|
||||
<listitem><literal>Strict-Transport-Security</literal> - Can be set using the
|
||||
@@ -306,8 +306,8 @@
|
||||
</section>
|
||||
<section xml:id="nsa-cache-control">
|
||||
<title><literal><cache-control></literal></title>
|
||||
<para>Adds <literal>Cache-Control</literal> and <literal>Pragma</literal> headers to ensure that the
|
||||
browser does not cache your secured pages.</para>
|
||||
<para>Adds <literal>Cache-Control</literal>, <literal>Pragma</literal>, and <literal>Expires</literal>
|
||||
headers to ensure that the browser does not cache your secured pages.</para>
|
||||
<section xml:id="nsa-cache-control-parents">
|
||||
<title>Parent Elements of <literal><cache-control></literal></title>
|
||||
<itemizedlist>
|
||||
|
||||
@@ -642,7 +642,7 @@ List<OpenIDAttribute> attributes = token.getAttributes();</programlisting>The
|
||||
<http ...>
|
||||
...
|
||||
<headers>
|
||||
<!-- Add Cache-Control and Pragma headers -->
|
||||
<!-- Add Cache-Control, Pragma, and Expires headers -->
|
||||
<cache-control/>
|
||||
<!-- Add X-Content-Type-Options with value of nosniff -->
|
||||
<content-type-options/>
|
||||
|
||||
Reference in New Issue
Block a user