long age = Navigation.getConfig().getIndexPageCacheLifetime(); if (age == 0) { DispatcherHelper.cacheDisable(response); } else { DispatcherHelper.cacheForWorld(response, (int)age); } ((com.arsdigita.navigation.ui.category.Hierarchy) categoryNav).setShowItems(false);