httpcache icon indicating copy to clipboard operation
httpcache copied to clipboard

An RFC7234 compliant golang http.Handler for caching HTTP responses

Results 11 httpcache issues
Sort by recently updated
recently updated
newest added

Hi thanks for the great software. I see there are some open issues which are untouched since a year. Do you use httpcache in Production? Thanks.

Hi, I run into following race condition. On windows the issue happens randomly but on travis ci its reproducible see logs https://travis-ci.org/hemerajs/momos/builds/266557761 ``` ================== WARNING: DATA RACE Write at 0x00c420160058...

First of all, thanks for creating and sharing a nice software! This pull request adds the origin and the host flags to the httpcache CLI. Could you review this? Thanks!

While using httpcache in an environment where we used a ReverseProxy implementation which supports several upstream hosts I noticed that the cache makes two requests to the upstream when cache...

Thanks for your work with httpcache - no small effort! I have found that the `Transfer-Encoding: chunked` behavior is broken. When sending a request through `httpcache.NewHandler(httpcche.NewMemoryCache())` with `httputil.NewSingleHostReverseProxy`, that the...

I've seen the following panic occur on retrieving context via the proxy, both in my own used of httpcache and via the cli sample (with modified listener port, e.g. 5000...

I find varnish cache BAN functionality very neat and it would be nice to be able to use it here as well. Right now a key hash is calculated and...

enhancement

Was this service designed for reverse proxy only? I can think of a way to use it in as a forward proxy but couple things are not really sitting in...

question

I've done some benchmarks, and FNV is ~3 times faster than SHA256 https://gist.github.com/hectorj/8ac959c071d44ec4d718 I know it's only ~1 micro second by hashing, but it's also only a 3 lines change.

It seems that httpcache logs an error while attempting to cache a resource, if the first/only request is a HEAD. The error comes from [handler.go:385](https://github.com/lox/httpcache/blob/master/handler.go#L389). Also, this line results in...

bug