added getPath() to cache