Log in
Model

CacheIdentifierPlugin

Magento\PageCache\Model\App\CacheIdentifierPlugin

What it does

This plugin modifies the cache identifier for Magento's built-in full page cache by adding design exceptions, store run type, and run code information.

Developers would use this when they need to ensure different cache entries are created for different user-agent based themes or multi-store configurations, preventing cache collisions between different store views or design variations.

Public Methods

  • afterGetValue()