Optimize _clearCache().
It is cheaper to make an assignment or call strtolower() than to pluralize.
Merge pull request #2186 from bar/clearcache

Optimize _clearCache().