http-cache
http-cache copied to clipboard
High performance Golang HTTP middleware for server-side application layer caching, ideal for REST APIs
This pull request adds an option to automatically add an [Expires header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires) to all responses. This will let the client (e.g. frontend) to know the exact time when the server...
Motivation 1: my project that uses this library takes a rather long time to generate responses with status codes 404 and 503. It would be much more efficient to cache...
Hello, I'm working on a maintained cache system which one can be run out of the box and compatible with Caddy as caddy-module. It supports the RFC-7234 and the new...
I noticed the hardcode use of Redis Ring in `adapter/redis` package. This is limiting as it requires users to use Redis Ring if they want to use Redis as cache...
In redis I can set TTL equal to 0 for no expiration time, but `cache.ClientWithTTL` does not permit that.
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.
Hi @victorspringer, first of all - thanks for a great project. `http-cache` is simple to use and has met all of my needs so far! Recently I've been trying to...
Hi, Have you thought about using the HTTP PURGE method for handling cache purges? It'd be more standards complaint and allow this to be used behind/in-front of other products. Optionally...
## Motivation Firstly, this is a great package - thank you. I found that in the use case where someone might have wanted to skip caching particular responses or server...
The adapter dependencies may be CGO or non-cgo, and may be undesirable to pull into a project if unused. Add go.mod files into adapter packages to exclude those dependencies from...