use cache when possible on all files