cachecontrol
cachecontrol copied to clipboard
Support for forcing cache-refresh / cache-usage on a per-resource basis?
Is there a way to either:
- clear the cache for a session
- clear the cache for a given request
This PR is a small, experimental step toward addressing #219.
It introduces an optional per-request cache_control="no-cache" flag that skips cache lookup for that request only, without changing default behavior or invalidating existing cache entries.
The intent is to explore whether a lightweight, opt-in API like this is useful, before considering broader cache control features.
Happy to adjust or drop this if maintainers feel a different direction would be preferable.