Skip to content

Commit

Permalink
Merge pull request #302 from qkdreyer/patch-1
Browse files Browse the repository at this point in the history
docs: add hash_algo
  • Loading branch information
dbu committed Jan 23, 2023
2 parents 97c425e + 90decac commit 0fc5c6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ The third parameter to the ``CachePlugin`` constructor takes an array of options
| ``respect_cache_headers`` | ``true`` | Whether we should care about cache headers or not |
| | | * This option is deprecated. Use `respect_response_cache_directives` |
+---------------------------------------+----------------------------------------------------+-----------------------------------------------------------------------+
| ``hash_algo`` | ``sha1`` | The hashing algorithm to use when generating cache keys |
+---------------------------------------+----------------------------------------------------+-----------------------------------------------------------------------+
| ``cache_lifetime`` | 30 days | The minimum time we should store a cache item |
+---------------------------------------+----------------------------------------------------+-----------------------------------------------------------------------+
| ``methods`` | ``['GET', 'HEAD']`` | Which request methods to cache |
Expand Down

0 comments on commit 0fc5c6c

Please sign in to comment.