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
339 stars 63 forks source link

Using TTL 0 for no expiration time with redis #9

Open JChiquin opened 4 years ago

JChiquin commented 4 years ago

In redis I can set TTL equal to 0 for no expiration time, but cache.ClientWithTTL does not permit that.