Added option to choose where to store network cache.