code: private static void setCache(CmsObject cms, CmsXmlContainerPage xmlCntPage, boolean keepEncoding) {
  
          if (xmlCntPage.getFile() instanceof I_CmsHistoryResource) {
              return;
          }
          boolean online = cms.getRequestContext().getCurrentProject().isOnlineProject();
          getCache().setCacheContainerPage(
              getCache().getCacheKey(xmlCntPage.getFile().getStructureId(), keepEncoding),
              xmlCntPage,
              online);
      }
docs: Stores the given container page in the cache.<p>
  
  @param cms the cms context
  @param xmlCntPage the container page to cache
  @param keepEncoding if the encoding was kept while unmarshalling