private static CmsXmlContainerPage getCache(CmsObject cms, CmsResource resource, boolean keepEncoding) {

        if (resource instanceof I_CmsHistoryResource) {
            return null;
        }
        return getCache().getCacheContainerPage(
            getCache().getCacheKey(resource.getStructureId(), keepEncoding),
            cms.getRequestContext().getCurrentProject().isOnlineProject());
    }
private static CmsXmlContainerPage getCache ( CmsObject cms , CmsResource resource , boolean keepEncoding ) { if ( resource instanceof I_CmsHistoryResource ) { return null ; } return getCache ( ) . getCacheContainerPage ( getCache ( ) . getCacheKey ( resource . getStructureId ( ) , keepEncoding ) , cms . getRequestContext ( ) . getCurrentProject ( ) . isOnlineProject ( ) ) ; }
Returns the cached container page.<p>

@param cms the cms context
@param resource the container page resource
@param keepEncoding if to keep the encoding while unmarshalling

@return the cached container page, or <code>null</code> if not found