Fix cache invalidate signature method on ApiCache.
Merge pull request #2321 from stephpy/2.0

Fix cache invalidate signature method on ApiCache.