tiny cleanup
cleanup
immediate invalidate local near caches (fixes issue #2163)
check if near cache enabled
Merge pull request #2200 from ahmetmircik/fixes/issue2163

Fixes #2163 : Immediate invalidate local near caches.