locally invalidate local near cache after put and remove methods.

Hi,

here is a pull request which locally invalidates locally cached entries in the near cache.

Best,
Lukas