lox / httpcache

An RFC7234 compliant golang http.Handler for caching HTTP responses
MIT License
264 stars 28 forks source link

Replace store abstraction with VFS #6

Closed lox closed 9 years ago

lox commented 9 years ago

The store abstraction was a poor one in that it didn't support seek access, which made it very awkward to serve Range requests and use the vanilla http.ServeContent. This pull request replaces it with https://github.com/rainycape/vfs and splits the headers and body into different cache keys.