Rename `checkCacheSize`.

See #233.
Closes #238.