h3 icon indicating copy to clipboard operation
h3 copied to clipboard

Reuse async promises for cachable utils (body and session)

Open pi0 opened this issue 1 year ago • 0 comments

Context: https://github.com/unjs/h3/pull/612

For all utils that cache their result per event, we shall leverage a wrapper cache. This improves both performance and reduces chances of concurrency issues on same request.

pi0 avatar Jan 15 '24 21:01 pi0