Try to cache some directories.