buck-http-cache icon indicating copy to clipboard operation
buck-http-cache copied to clipboard

Persistence storage

Open OliverPereira opened this issue 6 years ago • 2 comments

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?

OliverPereira avatar Oct 02 '18 12:10 OliverPereira

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.

njlr avatar Oct 02 '18 13:10 njlr

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?

mgrebenets avatar Dec 07 '18 04:12 mgrebenets