README: fix cache_max_age reference
This commit is contained in:
parent
feb3a1564d
commit
c4903dbca9
@ -59,7 +59,7 @@ handler into larger Go servers.
|
|||||||
|
|
||||||
```
|
```
|
||||||
host: example.com
|
host: example.com
|
||||||
cache_age: 3600
|
cache_max_age: 3600
|
||||||
paths:
|
paths:
|
||||||
/foo:
|
/foo:
|
||||||
repo: https://github.com/example/foo
|
repo: https://github.com/example/foo
|
||||||
@ -77,7 +77,7 @@ paths:
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><code>cache_age</code></th>
|
<th scope="row"><code>cache_max_age</code></th>
|
||||||
<td>optional</td>
|
<td>optional</td>
|
||||||
<td>The amount of time to cache package pages in seconds. Controls the <code>max-age</code> directive sent in the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control"><code>Cache-Control</code></a> HTTP header.</td>
|
<td>The amount of time to cache package pages in seconds. Controls the <code>max-age</code> directive sent in the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control"><code>Cache-Control</code></a> HTTP header.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user