Clear dir cache when refresh a dir