code: protected void initCacheObject() {
  
          CmsFlexController controller = (CmsFlexController)getJsp().getRequest().getAttribute(
              CmsFlexController.ATTRIBUTE_NAME);
          CmsFlexCache cache = controller.getCmsCache();
  
          setVariations("" + cache.size());
          setKeys("" + cache.keySize());
          CmsLruCache entryLruCache = cache.getEntryLruCache();
  
          if (entryLruCache != null) {
              Locale locale = getLocale();
              setMaxSize(CmsFileUtil.formatFilesize(entryLruCache.getMaxCacheCosts(), locale));
              setAvgSize(CmsFileUtil.formatFilesize(entryLruCache.getAvgCacheCosts(), locale));
              setCurSize(CmsFileUtil.formatFilesize(entryLruCache.getObjectCosts(), locale));
          }
      }
docs: Initializes the cache object.<p>