isLocaleDependend() ? index.getLocaleForResource(cms, resource, null) : null, getName()); content = cache.getCacheObject(cacheName);
cacheName = cache.getCacheName(resource, isLocaleDependend() ? index.getLocale() : null); content = cache.getCacheObject(cacheName);