Rename check to checkPermission
Rename checkPath to checkPathPermission
Improve documentation for Caching class