summaryrefslogtreecommitdiff
path: root/requests_cache/policy
Commit message (Collapse)AuthorAgeFilesLines
* Ignore Cache-Control: must-revalidate and no-cache when cache_control=FalseJordan Cook2023-03-241-6/+7
|
* Allow regexes for URL expiration patternsSimon Leiner2023-03-243-9/+22
| | | | | This allows for more fine-grained control over URL patterns than globbing in the rare cases where that is needed.
* Raise an error for invalid expiration string values (except for headers ↵Jordan Cook2023-02-181-3/+7
| | | | containing httpdates)
* Update type hints to appease Pylance and stricter mypy settingsJordan Cook2022-12-132-6/+14
|
* Add support for header values as bytesJordan Cook2022-10-201-2/+2
|
* Update only_if_cached to take precedence over refresh or other revalidation ↵Jordan Cook2022-07-301-1/+1
| | | | conditions
* Update docsJordan Cook2022-06-161-1/+1
|
* Save a couple microsecondsJordan Cook2022-06-161-0/+4
|
* Some additional logging and testsJordan Cook2022-06-161-3/+19
|
* Add support for VaryJordan Cook2022-06-161-4/+35
|
* Add a base model repr that excludes default values even if rich isn't installedJordan Cook2022-05-303-4/+3
|
* Implement Cache-Control: stale-while-revalidateJordan Cook2022-05-043-12/+34
|
* Add 'older_than' argument to remove_expired_responses()Jordan Cook2022-05-031-3/+7
|
* Add always_revalidate session optionJordan Cook2022-05-032-1/+3
|
* Fix remove_expired_responses() with SQLite and expire_after=0Jordan Cook2022-04-301-1/+1
|
* Improve output for all models when printed or logged with richJordan Cook2022-04-193-8/+7
|
* Add support for Cache-Control: stale-if-errorJordan Cook2022-04-183-74/+84
|
* Add support for Cache-Control: max-stale and min-freshJordan Cook2022-04-183-6/+30
|
* Refactor utilities for parsing cache headers into CacheDirectives classJordan Cook2022-04-185-134/+146
|
* Move all cache policy-related modules to separate 'policy' subpackageJordan Cook2022-04-174-0/+467