code: public static String getKeyName(String resourcename, boolean online) {
  
          return resourcename.concat(online ? CmsFlexCache.CACHE_ONLINESUFFIX : CmsFlexCache.CACHE_OFFLINESUFFIX);
      }
docs: Calculates the cache key name that is used as key in
  the first level of the FlexCache.<p>
  
  @param resourcename the full name of the resource including site root
  @param online must be true for an online resource, false for offline resources
  
  @return the FlexCache key name