hono icon indicating copy to clipboard operation
hono copied to clipboard

[Cache Middleware] Don't throw an error though `caches` is not defined

Open yusukebe opened this issue 2 years ago • 0 comments

What is the feature you are proposing?

Currently, the Cache Middleware throws an error when the caches object is not globally defined. However, it might be more convenient, in environments like Node.js, to avoid this. Perhaps showing just a warning would be a better approach.

yusukebe avatar Dec 01 '23 12:12 yusukebe