code: public void putCachedObject(CmsObject cms, String rootPath, Object value) {
  
          String key = getCacheKeyForCurrentProject(cms, rootPath);
          OpenCms.getMemoryMonitor().cacheVfsObject(key, value);
      }
docs: Puts an object into the cache.<p>
  
  @param cms the CmsObject
  @param rootPath the rootPath of the VFS resource to store the object for
  @param value the object to store