summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor refresh/revalidate behaviorJordan Cook2022-04-092-29/+51
| | | | | | | | | | | | | | | * 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 example of loading settings from a config fileJordan Cook2022-04-011-20/+38
|
* Update docs, doc dependencies, changelog, and contributorsJordan Cook2022-04-016-27/+45
| | | | | Also: Restrict redis-py to <4.2, which breaks parameter forwarding on python 3.7 and 3.8
* More code cleanup and commentsJordan Cook2022-03-291-2/+2
|
* Add a 'Choosing a Backend' section to docsJordan Cook2022-03-171-3/+23
|
* Swap out appdirs for platformdirsJordan Cook2022-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | * platformdirs is a more actively maintained fork of appdirs. * Also relax requirements a bit for attrs and urllib (minimum instead of caret constraint) Dependabot update: Bump responses from 0.16.0 to 0.19.0 Bumps [responses](https://github.com/getsentry/responses) from 0.16.0 to 0.19.0. - [Release notes](https://github.com/getsentry/responses/releases) - [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES) - [Commits](https://github.com/getsentry/responses/compare/0.16.0...0.19.0) --- updated-dependencies: - dependency-name: responses dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Add another article linkJordan Cook2022-03-141-0/+1
|
* Add support for Cache-Control: only-if-cached and corresponding options for ↵Jordan Cook2022-03-112-0/+57
| | | | request() and send()
* Update changelog, docs, and bump versionJordan Cook2022-03-113-9/+9
|
* Change wording a bit on cache header behaviorJordan Cook2022-02-241-9/+8
|
* Update license, and remove (redundant?) copyright from Sphinx doc footerJordan Cook2022-02-151-1/+1
|
* Fix serialization in filesystem backend with binary content that is also ↵Jordan Cook2022-02-151-4/+7
| | | | valid UTF-8
* Add documentation example for backtesting with time-machineJordan Cook2022-02-151-0/+14
|
* Use only integers for expire_after values in tests and docsJordan Cook2022-02-151-3/+3
|
* Update changelogJordan Cook2021-12-021-2/+2
|
* Fix some typos in docs for custom serializers, and add a test for itJordan Cook2021-11-191-17/+12
|
* Add support for Cache-Control: immutableJordan Cook2021-10-231-0/+1
|
* Make per-request expiration thread-safe by passing via request headers ↵Jordan Cook2021-09-182-4/+7
| | | | instead of session attribute, and use Cache-Control request headers by default
* Vectorize logo, color it to match light/dark theme colors on rtd, and add ↵Jordan Cook2021-09-1813-3/+368
| | | | modified version to Readme
* Add note about ResourceWarnings to Troubleshooting sectionJordan Cook2021-09-181-2/+16
|
* Add some more links to 'Related Projects' pageJordan Cook2021-09-181-1/+4
|
* Use redirect in rtd config instead of placeholder 'advanced_usage' pageJordan Cook2021-09-081-5/+0
|
* Use sphinx_autodoc_typehints extension instead of autodoc's built-in type hintsJordan Cook2021-09-081-0/+4
|
* Fix a Sphinx warningJordan Cook2021-09-081-1/+2
|
* Compress and scale logo a bit moreJordan Cook2021-09-0813-4/+4
|
* Add a custom 404 pageJordan Cook2021-09-082-0/+8
|
* Add note to Troubleshooting section about deprecated importsJordan Cook2021-09-071-0/+1
|
* Update changelog and Readme linksv0.8.0Jordan Cook2021-09-071-6/+8
|
* Alias/rename old_data_on_error to stale_if_error for consistency with ↵Jordan Cook2021-09-062-4/+4
| | | | Cache-Control: stale-if-error (backwards-compatibile)
* Allow match_headers to optionally accept a list of specific headers to matchJordan Cook2021-09-062-11/+11
|
* Alias/rename 'include_get_headers' to 'match_headers' for clarity ↵Jordan Cook2021-09-061-4/+4
| | | | (backwards-compatibile)
* Format examplesJordan Cook2021-09-041-27/+28
|
* Add compatibility example with requests-oauthlibJordan Cook2021-09-041-0/+15
|
* Add compatibility example with requests-ratelimiterJordan Cook2021-09-041-2/+29
|
* Add link to example from Python Web Scraping bookJordan Cook2021-09-041-0/+1
|
* Revert renaming DynamoDB backend classes; a minor inconsistency is probably ↵Jordan Cook2021-08-301-1/+1
| | | | better than an unnecessary API change
* Some formatting for examplesJordan Cook2021-08-293-46/+33
|
* Minor edits for Readme and Related ProjectsJordan Cook2021-08-282-7/+9
|
* Move Roman's original Code Shelter note under Project Info docsJordan Cook2021-08-282-0/+25
|
* Move Code of Conduct with the rest of the 'project info' docsJordan Cook2021-08-281-3/+65
|
* Add some more troubleshooting info to docsJordan Cook2021-08-283-22/+59
|
* Add example with URL patternsJordan Cook2021-08-271-0/+13
|
* Add example with ThreadPoolExecutorJordan Cook2021-08-271-0/+13
|
* Fix a couple icon stylesJordan Cook2021-08-273-3/+3
|
* Add Font Awesome 5 icons to main page headersJordan Cook2021-08-2725-33/+47
|
* Add more details on troubleshooting & debuggingJordan Cook2021-08-2710-48/+113
|
* Reorganize user docs: break down User Guide and Advanced Usage sections into ↵Jordan Cook2021-08-2630-1238/+1256
| | | | smaller pages
* Misc user guide edits/formattingJordan Cook2021-08-261-39/+42
|
* More docs on cache options; for clarity, refer to cache key behavior as ↵Jordan Cook2021-08-262-55/+129
| | | | 'request matching', and selective caching options as 'cache filtering'
* Add more notes on when to not use monkey-patchingJordan Cook2021-08-261-13/+22
|