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

Add Ability to provide non-cacheable headers #8

Open fr05t1k opened 4 years ago

fr05t1k commented 4 years ago

What do you think about this feature?

It's useful when you get a header from a proxy-server with request's country and you have to keep different responses for different countries.