storeManager = $storeManager ?: \Magento\Framework\App\ObjectManager::getInstance() ->get(StoreManagerInterface::class); parent::__construct( $context, $registry, $config, $cacheTypeList, $resource, $resourceCollection, $data ); } /** * Get unique page cache identities * * @return array */ public function getIdentities() { return [ RobotsValue::CACHE_TAG . '_' . $this->storeManager->getStore()->getId(), ]; } }