Cache increment and decrement implementation
Fixed unused variables
Removed unused variables
Merge pull request #1374 from iwalz/feature-1083

Cache increment and decrement implementation