Apply directory size cache on every data update