Cache options for directories.