Log in
Model

DepersonalizePlugin

Magento\Checkout\Model\Layout\DepersonalizePlugin

What it does

This plugin handles depersonalization of checkout session data when pages are served from full page cache.

It temporarily stores the quote ID, clears sensitive customer data from the checkout session to prevent caching private information, and then restores the quote ID.

Developers don't typically interact with this class directly - it's part of Magento's cache depersonalization mechanism.

Public Methods

  • beforeGenerateXml()
  • afterGenerateElements()