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);
    }
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 ) ; }
Stores the given group container in the cache.<p>

@param cms the cms context
@param xmlGroupContainer the group container to cache
@param keepEncoding if the encoding was kept while unmarshalling