docs: private static void setCache(CmsObject cms, CmsXmlGroupContainer xmlGroupContainer, boolean keepEncoding) {
  
          if (xmlGroupContainer.getFile() instanceof I_CmsHistoryResource) {
              return;
          }
          boolean online = cms.getRequestContext().getCurrentProject().isOnlineProject();
          getCache().setCacheGroupContainer(
              getCache().getCacheKey(xmlGroupContainer.getFile().getStructureId(), keepEncoding),
              xmlGroupContainer,
              online);
      }