Cache node and bower directories