cache linked dirs