add method to get current cache directory
Change licences