use cache file to speed up boot