Log in
Model

DepersonalizePlugin

Magento\Catalog\Model\Layout\DepersonalizePlugin

What it does

This plugin automatically clears catalog session data when a page is being served from full page cache to prevent personalized customer data from being cached.

Developers use this to ensure that customer-specific catalog information (like recently viewed products or comparison lists) doesn't get stored in cached pages and shown to other users.

Public Methods

  • afterGenerateElements()