elastic / libesvm

A library for managing instances of Elasticsearch
7 stars 14 forks source link

break out cache and download modules #12

Closed spalger closed 9 years ago

spalger commented 9 years ago

Fixes simianhacker/esvm#14

While looking into fixing simianhacker/esvm#14 I got the urge to create modules for pulling down the tags and snapshots. I then realized they both require the cache module, so I broke that out too.

The new modules are http-asset and ya-cache. With these modules libesvm now uses the HTTP cache headers for tags and snapshot url downloads, and has offline support when it can't fetch new urls.