use cache directory