Michael Walmsley

Results 28 comments of Michael Walmsley

The idea of this feature request is to look at creating a new Caching feature for Powertools, separate from the Idempotency utility, which is not built for caching (not exactly)....

I didn't make it clear in first writeup. The cache will use a storage provider class much like Idempotency does. Therefore storage would be used to persist the cached item...

Hi there - I worked on the original code for the idempotency hook. I feel you have everything you need already, but do correct me if I am missing something...

> you can use the idempotency store as a cache. If you have an "expensive" function call, storing the output in the idempotency store is a really nice way to...

> I think a cache utility based on the current idempotency core could be very powerful. Let me know if I can make a feature request or provide any more...

I must apologise - what I wrote above around the "Hook" is not correct and @ChrisHills463 issue still stands. The Idempotent Hook - is only called when an idempotent response...

This idea will work and provide the outcome you need; however, I feel a more elegant solution is possible by providing the following two things: 1. A real Cache utility...

Question: Is this feature available through the `Serializer` in the Resolver class and the exact use-case for this feature? API headers drive the Response class in the Resolvers, so it...