mirror of
https://github.com/sjsdfg/effective-java-3rd-chinese.git
synced 2025-02-05 17:20:33 +08:00
9 lines
286 B
HTML
9 lines
286 B
HTML
<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>
|