[Feature Request]: hono/cache
cacheName should also take function
#2650
Labels
enhancement
New feature or request.
hono/cache
cacheName should also take function
#2650
What is the feature you are proposing?
In the
hono/cache
middleware, how can we add query params or other variables from the context? Like caching the data based on differentlimit
parameters or user profiles/roles.I checked the code and it's a simple implementation, I can create a PR for this 😀
The text was updated successfully, but these errors were encountered: