Skip to content

Please add caching example #627

Open
@bangbaew

Description

I want to wrap an in-memory cache middleware for all GET routes that returns 200, the cache key should be based on the full request URL and can be customized, If I send "Cache-Control": "no-cache" in the request headers, Actix should process the request and overwrite the new response in the cache key, and I want the ability to delete the cache key in case of successful data update, so I can get the new data again in the next request.

Thanks.

Metadata

Assignees

Labels

new-exampleRequest for a new example

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions