cheatly icon indicating copy to clipboard operation
cheatly copied to clipboard

Add cache folder in user home dir

Open hauleth opened this issue 12 years ago • 1 comments

It will be used as a fallback if there is no internet connection. Otherwise get data from server and check if cache update is needed.

Other idea is to always hit the cache. If there is no hit then go fallback to internet. Problem is updating sheets. It can be solved by adding extra flag --no-cache and command update that will fetch all new sheets.

IMHO 1st option is much better.

hauleth avatar Dec 02 '13 11:12 hauleth

Love the idea of a cache... when I was writing the gem, I did different adapter classes exactly to be able to add a cache adapter in the future.

arthurnn avatar Dec 06 '13 23:12 arthurnn