summaryrefslogtreecommitdiff
path: root/requests_cache
Commit message (Collapse)AuthorAgeFilesLines
...
* Split up remove_expired_reponses() into remove() and reset_expiration() ↵Jordan Cook2022-06-117-88/+93
| | | | methods, with more granular arguments
* Add decode_content option for storage classes, and use as the default ↵Jordan Cook2022-06-108-23/+58
| | | | behavior for Filesystem, DynamoDB, and MongoDB backends
* Change this into an option for CattrStage instead of a separate classJordan Cook2022-06-106-107/+65
|
* Add serializer stage that decodes/re-encodes response contentJordan Cook2022-06-104-1/+107
|
* Update serialization docsJordan Cook2022-06-104-20/+27
|
* Add a base model repr that excludes default values even if rich isn't installedJordan Cook2022-05-307-11/+21
|
* Add Placeholder.loads() (needed in some scenerios with missing dependencies ↵Jordan Cook2022-05-301-0/+3
| | | | when using PyInstaller)
* Add CachedRequest.path_url propertyJordan Cook2022-05-181-0/+8
|
* use https for links谭九鼎2022-05-093-4/+4
|
* Implement Cache-Control: stale-while-revalidateJordan Cook2022-05-044-16/+49
|
* Add 'older_than' argument to remove_expired_responses()Jordan Cook2022-05-035-31/+53
|
* Add always_revalidate session optionJordan Cook2022-05-034-3/+9
|
* Fix remove_expired_responses() with SQLite and expire_after=0Jordan Cook2022-04-303-4/+4
|
* Initialize backend with install_cache() prior to patching requests.SessionJordan Cook2022-04-281-1/+2
|
* Remove row count from BaseCache.__str__Jordan Cook2022-04-221-2/+2
|
* Add a BaseStorage.default_serializer attribute, to be more explicit about ↵Jordan Cook2022-04-2211-36/+55
| | | | which backends use something other than pickle by default
* Add SQLiteDict.size() method to estimate the database sizeJordan Cook2022-04-221-1/+17
|
* For SQLite expires column, use time.time() instead of datetime.timestamp()Jordan Cook2022-04-224-20/+24
|
* Merge *PickleDict storage classes into parent classesJordan Cook2022-04-2211-115/+88
|
* Add missing placeholder class if pymongo isn't installedJordan Cook2022-04-221-0/+1
|
* Fix parameter forwarding for redis-py 4.2 and pymongo 4.1 on python <=3.8Jordan Cook2022-04-214-4/+6
|
* Add misc missing test coverageJordan Cook2022-04-204-11/+5
|
* Add screenshots and info for viewing DynamoDB responsesJordan Cook2022-04-201-1/+0
|
* Add support for DynamoDB TTLJordan Cook2022-04-202-29/+55
|
* Store responses in DynamoDB as JSON documents instead of serialized binariesJordan Cook2022-04-196-25/+74
|
* Major bump!Jordan Cook2022-04-191-1/+1
|
* Create default table in on-demand mode instead of provisionedJordan Cook2022-04-191-12/+10
|
* Ensure BaseCache.cache_name gets set if a backend class is initialized ↵Jordan Cook2022-04-196-6/+6
| | | | directly (mainly for debug/logging purposes)
* Improve output for all models when printed or logged with richJordan Cook2022-04-198-12/+37
|
* Add support for Cache-Control: stale-if-errorJordan Cook2022-04-184-79/+89
|
* Add support for Cache-Control: max-stale and min-freshJordan Cook2022-04-183-6/+30
|
* Add positional-or-keyword args to request wrapper methods consistent with ↵Jordan Cook2022-04-181-8/+8
| | | | requests API
* Close database connections (if applicable) on CachedSession.__exit__ and close()Jordan Cook2022-04-184-0/+20
|
* Refactor utilities for parsing cache headers into CacheDirectives classJordan Cook2022-04-1810-145/+156
|
* Move all cache policy-related modules to separate 'policy' subpackageJordan Cook2022-04-1711-20/+24
|
* Move backend docs to user guide, separate from API reference docsJordan Cook2022-04-177-8/+43
|
* Move detailed backend docs from rst docstings to md filesJordan Cook2022-04-168-402/+18
|
* Add serializer name to cache key to avoid errors due to switching serializersJordan Cook2022-04-156-18/+42
|
* Add get_ttl() method for convenienceJordan Cook2022-04-151-8/+21
|
* Skip setting TTL for redirects collectionJordan Cook2022-04-151-4/+2
|
* Update general expiration docsJordan Cook2022-04-152-1/+3
|
* Add notes on viewing responses in MongoDBJordan Cook2022-04-151-2/+19
|
* Fix structuring/unstructuring CachedResponse.historyJordan Cook2022-04-152-9/+15
|
* Use BSON preconf stage and store response values under top-level keys, so ↵Jordan Cook2022-04-154-37/+51
| | | | created_at attribute is compatible with TTL index
* Use a set_ttl() method instead of keyword argument, since it should only be ↵Jordan Cook2022-04-152-36/+106
| | | | set once (or overwritten)
* Improvements for MongoDB:Jordan Cook2022-04-153-12/+79
| | | | | * Use native document format (BSON) instead of binary blob * Add option to use native TTL feature
* Add some more notes about SQLite and Redis backendsJordan Cook2022-04-112-5/+38
|
* Add SQLiteDict.sorted() method with sorting and other query optionsJordan Cook2022-04-101-0/+55
|
* Use Unix time integer instead of datetime string, and use same time source ↵Jordan Cook2022-04-101-3/+5
| | | | on both write (setitem) and read (clear_expired)
* LEFT JOIN option is slightly fasterJordan Cook2022-04-101-10/+1
|