lisaogren / axios-cache-adapter

Caching adapter for axios. Store request results in a configurable store to prevent unneeded network requests.
MIT License
726 stars 107 forks source link

Add the ability to customize your own caching value selection function, similar to the key selection function? #224

Closed feeedback closed 4 years ago

feeedback commented 4 years ago
 // {String|Function} Generate a unique cache key for the request.
  // Will use request url and serialized params by default.
  key: req => req.url + serializeQuery(req.params),

https://github.com/RasCarlito/axios-cache-adapter#options

feeedback commented 4 years ago

Okay, I'll be using third party solutions. This is probably correct if I want more flexibility in the settings. https://www.npmtrends.com/node-cache-vs-apicache-vs-lru-cache