uber-archive / buck-http-cache

An Implementation of Buck's HTTP Cache API as a distributed cache service. This project is deprecated and not maintained.
MIT License
101 stars 16 forks source link

Persistence storage #21

Open OliverPereira opened 6 years ago

OliverPereira commented 6 years ago

Hi,

We have just implement this app in our CI environment and it seems to be working quiet well.

Is there any option to enable persistence storage so that the cache is not lost on a server reboot?

njlr commented 6 years ago

Are you using a service like Travis CI? If so, it might be better to set the Buck cache mode to a directory somewhere on disk and then tell the CI service to cache that.

mgrebenets commented 5 years ago

I thought the purpose of this cache server would be to share cache between multiple developers and CI build agents. I had no idea it loses the cache when server is restarted...

@njlr If I use dir cache mode, then I don't really need the http cache (the two options are exclusive). Or do you mean that Travic CI has some feature where it can save cache between builds?