browserify / wzrd.in

browserify as a service.
http://wzrd.in
MIT License
637 stars 96 forks source link

Refactor/organize caching layer #137

Open jfhbrook opened 7 years ago

jfhbrook commented 7 years ago

There are a number of concerns with the caching layer.

For one, the cache export shouldn't include all the caches. The multibundle cache isn't really related to the other caches, and multibundles should be attached to a separate abstraction than singular bundles. They should also take either a leveldb instance or a lightweight abstraction on top of leveldb, rather than taking a connstring.

Related: #135, #138, #164