You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @victorspringer, first of all - thanks for a great project. http-cache is simple to use and has met all of my needs so far!
Recently I've been trying to gain more insight into the performance of one of my applications, and especially to figure out just how much impact the cache is having. I've been able to gather some simple metrics by shimming in an adapter, but there's significant context lost.
I'm wondering if you'd be open to expanding the API a bit to run some optional "observer" functions at certain times? I'm thinking specifically it would be useful to get a handle on the request or at least the request's context even in the case of a cache hit.
I'm willing to submit a PR for this work, but wanted to get your feedback first to see if this is something you're even interested in!
The text was updated successfully, but these errors were encountered:
Hi @victorspringer, first of all - thanks for a great project.
http-cache
is simple to use and has met all of my needs so far!Recently I've been trying to gain more insight into the performance of one of my applications, and especially to figure out just how much impact the cache is having. I've been able to gather some simple metrics by shimming in an adapter, but there's significant context lost.
I'm wondering if you'd be open to expanding the API a bit to run some optional "observer" functions at certain times? I'm thinking specifically it would be useful to get a handle on the request or at least the request's context even in the case of a cache hit.
I'm willing to submit a PR for this work, but wanted to get your feedback first to see if this is something you're even interested in!
The text was updated successfully, but these errors were encountered: