| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't use bulk_delete() if only deleting a single key | Jordan Cook | 2023-03-01 | 1 | -1/+8 |
| | | |||||
| * | Set default serializers for each backend using param defaults instead of ↵ | Jordan Cook | 2023-01-13 | 1 | -28/+6 |
| | | | | | 'default_serializer' class attributes | ||||
| * | Make CachedResponse.cache_key available from all cache access methods | Jordan Cook | 2022-12-30 | 1 | -3/+12 |
| | | |||||
| * | Fix ambiguous log message for BaseCache.delete() | Jordan Cook | 2022-12-30 | 1 | -1/+1 |
| | | |||||
| * | Update type hints to appease Pylance and stricter mypy settings | Jordan Cook | 2022-12-13 | 1 | -9/+17 |
| | | |||||
| * | Make use of index with SQLiteCache.filter(expired=False) | Jordan Cook | 2022-10-28 | 1 | -2/+5 |
| | | |||||
| * | Handle errors due to invalid responses in deserialize(), so it applies to ↵ | Jordan Cook | 2022-10-28 | 1 | -8/+16 |
| | | | | | other methods besides just get_responses() | ||||
| * | Add more notes on deprecated methods | Jordan Cook | 2022-10-26 | 1 | -1/+13 |
| | | |||||
| * | Add BaseCache.has_key() back; this was intended to be deprecated, not yet ↵ | Jordan Cook | 2022-10-26 | 1 | -0/+7 |
| | | | | | removed | ||||
| * | Fix backwards-compatibility with deprecated remove_expired_responses | Jordan Cook | 2022-10-26 | 1 | -2/+2 |
| | | |||||
| * | Add 'url' argument to BaseCache.contains() and delete() for similarity to ↵ | Jordan Cook | 2022-09-30 | 1 | -3/+11 |
| | | | | | has_url() and delete_url() | ||||
| * | Silence DeprecationWarnings during tests for deprecated methods | Jordan Cook | 2022-09-30 | 1 | -7/+10 |
| | | |||||
| * | Add method to recreate cache keys | Jordan Cook | 2022-08-23 | 1 | -0/+12 |
| | | |||||
| * | Add support for Vary | Jordan Cook | 2022-06-16 | 1 | -2/+4 |
| | | |||||
| * | Clean up SerializerPipeline.decode_content | Jordan Cook | 2022-06-11 | 1 | -1/+1 |
| | | |||||
| * | Consolidate BaseCache convenience methods into contains(), filter(), and ↵ | Jordan Cook | 2022-06-11 | 1 | -146/+174 |
| | | | | | delete() | ||||
| * | Split up remove_expired_reponses() into remove() and reset_expiration() ↵ | Jordan Cook | 2022-06-11 | 1 | -61/+76 |
| | | | | | methods, with more granular arguments | ||||
| * | Add decode_content option for storage classes, and use as the default ↵ | Jordan Cook | 2022-06-10 | 1 | -9/+23 |
| | | | | | behavior for Filesystem, DynamoDB, and MongoDB backends | ||||
| * | Add 'older_than' argument to remove_expired_responses() | Jordan Cook | 2022-05-03 | 1 | -13/+20 |
| | | |||||
| * | Remove row count from BaseCache.__str__ | Jordan Cook | 2022-04-22 | 1 | -2/+2 |
| | | |||||
| * | Add a BaseStorage.default_serializer attribute, to be more explicit about ↵ | Jordan Cook | 2022-04-22 | 1 | -4/+12 |
| | | | | | which backends use something other than pickle by default | ||||
| * | Merge *PickleDict storage classes into parent classes | Jordan Cook | 2022-04-22 | 1 | -3/+10 |
| | | |||||
| * | Close database connections (if applicable) on CachedSession.__exit__ and close() | Jordan Cook | 2022-04-18 | 1 | -0/+9 |
| | | |||||
| * | Refactor utilities for parsing cache headers into CacheDirectives class | Jordan Cook | 2022-04-18 | 1 | -3/+2 |
| | | |||||
| * | Move all cache policy-related modules to separate 'policy' subpackage | Jordan Cook | 2022-04-17 | 1 | -2/+2 |
| | | |||||
| * | Move detailed backend docs from rst docstings to md files | Jordan Cook | 2022-04-16 | 1 | -17/+17 |
| | | |||||
| * | Add serializer name to cache key to avoid errors due to switching serializers | Jordan Cook | 2022-04-15 | 1 | -0/+2 |
| | | |||||
| * | WIP: Add faster implementation of removing invalid redirects in SQL | Jordan Cook | 2022-04-10 | 1 | -7/+10 |
| | | |||||
| * | Refactor refresh/revalidate behavior | Jordan Cook | 2022-04-09 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | * Rename two (unreleased) options to be more consistent with browser behavior: * `revalidate()` -> `refresh()` * `refresh()` -> `force_refresh()` * Revert `RequestSettings` changes and use just kwargs instead for per-request settings * Add full type hints back to extra kwargs for `CachedSession.send()` * Fix a bug in which some kwargs specific to requests-cache could get passed to `requests.Session.send()` * Use 'must-revalidate' as a temporary header for a user-requested refresh * Refer to expiration value of 0 more accurately as 'expire immediately' rather than 'do not cache' * It may potentially be saved and used with revalidation, depending on other headers/settings * `DO_NOT_CACHE` now has a different value but same effect * Refer to constants in docs instead of 0, -1, etc. * Log more details about post-read and pre-cache checks | ||||
| * | Add an intermediate wrapper class, OriginalResponse, to provide type hints ↵ | Jordan Cook | 2022-04-01 | 1 | -3/+5 |
| | | | | | for extra attributes set on requests.Response objects | ||||
| * | Move settings module to top level package, and leave 'models' subpackage for ↵ | Jordan Cook | 2022-04-01 | 1 | -1/+1 |
| | | | | | only serialized data models | ||||
| * | Add argument docs back to CachedSession.__init__ instead of generic ↵ | Jordan Cook | 2022-04-01 | 1 | -13/+14 |
| | | | | | **kwargs; init settings in CachedSession instead of BaseCache | ||||
| * | Split datetime-related utility functions into a separate module | Jordan Cook | 2022-03-29 | 1 | -1/+1 |
| | | |||||
| * | Refactor session-level settings into separate CacheSettings class | Jordan Cook | 2022-03-29 | 1 | -31/+13 |
| | | |||||
| * | Reword inaccurate usage of the term 'revalidate' | Jordan Cook | 2022-03-11 | 1 | -6/+6 |
| | | |||||
| * | Fix typo in docs | Jordan Cook | 2022-01-01 | 1 | -2/+2 |
| | | |||||
| * | Add support for BaseCache keyword arguments passed along with a backend instance | Jordan Cook | 2021-11-13 | 1 | -4/+16 |
| | | |||||
| * | Move response content reset to DictStorage.__getitem__(), since that's the ↵ | Jordan Cook | 2021-10-23 | 1 | -2/+10 |
| | | | | | only place it's used | ||||
| * | Fix duplicate cache read (contains + getitem) | Jordan Cook | 2021-10-23 | 1 | -5/+5 |
| | | |||||
| * | Reorganize & improve request normalization functions: | Jordan Cook | 2021-09-20 | 1 | -3/+2 |
| | | | | | | | | | | | | | * Handle all normalization in `cache_keys` module, get rid of `normalize_dict()` function used in `CachedSession` * Reorganize `cache_keys` helper functions into the following: * `normalize_request()` * `normalize_url()` * `normalize_headers()` * `normalize_params()` * `normalize_body()` * `normalize_json_body()` * `redact_response()` | ||||
| * | Redact ingored_parameters from CachedResponse.url | Jordan Cook | 2021-09-15 | 1 | -1/+2 |
| | | |||||
| * | Allow match_headers to optionally accept a list of specific headers to match | Jordan Cook | 2021-09-06 | 1 | -2/+2 |
| | | |||||
| * | Alias/rename 'include_get_headers' to 'match_headers' for clarity ↵ | Jordan Cook | 2021-09-06 | 1 | -3/+3 |
| | | | | | (backwards-compatibile) | ||||
| * | Allow has_url(), delete_url(), and create_key() to optionally take ↵ | Jordan Cook | 2021-08-28 | 1 | -13/+16 |
| | | | | | requests.Request arguments | ||||
| * | Reorganize user docs: break down User Guide and Advanced Usage sections into ↵ | Jordan Cook | 2021-08-26 | 1 | -2/+2 |
| | | | | | smaller pages | ||||
| * | Minor optimization: exclude redundant CachedResponse.cache_key and ↵ | Jordan Cook | 2021-08-25 | 1 | -1/+2 |
| | | | | | CachedHTTPResponse.headers from serialization, and set at runtime instead | ||||
| * | Add BaseCache.update() method as a shortcut for exporting to a different ↵ | Jordan Cook | 2021-08-25 | 1 | -53/+59 |
| | | | | | cache instance | ||||
| * | Add support for SQLite in-memory databases | Jordan Cook | 2021-08-20 | 1 | -1/+8 |
| | | |||||
| * | Better backend docs | Jordan Cook | 2021-08-20 | 1 | -11/+29 |
| | | |||||
| * | Move autosummaries to module docstrings instead of template, to make them ↵ | Jordan Cook | 2021-08-20 | 1 | -0/+6 |
| | | | | | easier to customize | ||||
