summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-10-23 11:33:13 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-10-23 11:36:02 -0500
commit0b8a8bb1220310cdc6be3d350caf9fbb65b402fb (patch)
tree85443bac60fb0a5568cbdd4858b730c9c199d25b /docs
parente311f9acc2f20718d7aa1b86e544554f572671f9 (diff)
downloadrequests-cache-0b8a8bb1220310cdc6be3d350caf9fbb65b402fb.tar.gz
Add support for Cache-Control: immutable
Diffstat (limited to 'docs')
-rw-r--r--docs/user_guide/headers.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/user_guide/headers.md b/docs/user_guide/headers.md
index a1c7e2f..8373214 100644
--- a/docs/user_guide/headers.md
+++ b/docs/user_guide/headers.md
@@ -56,6 +56,7 @@ The following headers are currently supported:
**Response headers:**
- `Cache-Control: max-age`: Used as the expiration time in seconds
- `Cache-Control: no-store` Skips writing response data to the cache
+- `Cache-Control: immutable`: Caches the response with no expiration
- `Expires`: Used as an absolute expiration time
- `ETag`: Returns expired cache data if the remote content has not changed (`304 Not Modified` response)
- `Last-Modified`: Returns expired cache data if the remote content has not changed (`304 Not Modified` response)