cache search directories after initialization