9 lines
286 B
Java
9 lines
286 B
Java
<h2>Policy with far-future max-age</h2>
|
|
<pre><code>max-age=31536000</code></pre>
|
|
|
|
<h2>Policy with near-future max-age, considered unsafe</h2>
|
|
<pre><code>max-age=123</code></pre>
|
|
|
|
<h2>Policy with extra directives</h2>
|
|
<pre><code>max-age=31536000; includeSubdomains; preload</code></pre>
|