victorspringer / http-cache

High performance Golang HTTP middleware for server-side application layer caching, ideal for REST APIs
https://godoc.org/github.com/victorspringer/http-cache
MIT License
350 stars 63 forks source link

implementing storage based controls on memory adapter #17

Closed kris-watts-gravwell closed 12 months ago

kris-watts-gravwell commented 1 year ago

This adds a new Adapter for the memory controller so that you can control caching based on total number of cached bytes, rather than just total number of cached requests.

victorspringer commented 12 months ago

This adds a new Adapter for the memory controller so that you can control caching based on total number of cached bytes, rather than just total number of cached requests.

Hi Kris, LGTM. Thanks for the contribution!