lox / httpcache

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

WIP: Remove VFS, replace with Storage interface #19

Closed lox closed 9 years ago

lox commented 9 years ago

This was an experiment that ended up changing a lot of things, some of which I might pursue, others which I won't. I need to dig into this and figure out what's what.

dmitshur commented 9 years ago

What is the motivation for this change?

lox commented 9 years ago

I believe my main motivation (I wrote this some time ago and wanted to make sure it didn't get lost) was that the use of VFS was a leaky abstraction and made it hard to cleanly separate functionality into pluggable storage modules.