asgi-caches icon indicating copy to clipboard operation
asgi-caches copied to clipboard

Server-side HTTP caching for ASGI applications, inspired by Django's cache framework

Results 6 asgi-caches issues
Sort by recently updated
recently updated
newest added

@invokermain wrote in #22: > For my use case it would amazing to be able to specify routes for which a cache applies to when adding the middleware. Looking through...

@invokermain wrote in #22: > A side question I had which would be nice to have documented: do you have a recommended way of passing cache objects to submodules (e.g....

documentation
question

@invokermain wrote in #22: > P.S. looking at the code I can see that the caching for GET requests is unique for each set of parameters. This is great for...

documentation

While #4 will add support for adding arbitrary `Cache-Control` attributes, the `private` and `public` attributes are a bit special. They are exclusive, in that only one of them should be...

good first issue

(This functionality is not pre-documented in the README yet.) `asgi-caches` already takes the `Vary` response header to build its cache key. (`Vary` lists request headers that may result in a...

good first issue

Currently, when `CacheMiddleware` is applied then all application endpoints will be cached according to the `cache.ttl`. Users may want to not cache a specific endpoint, e.g. because its response should...

good first issue