Model
DepersonalizePlugin
Magento\Checkout\Model\Layout\DepersonalizePlugin
What it does
This plugin handles depersonalization of checkout session data for Full Page Cache (FPC).
It preserves the quote ID while clearing other sensitive customer data from the checkout session when cached pages are served, ensuring personalized information isn't cached and served to wrong users.
Developers use this to maintain security and privacy when Magento's page cache is enabled.
Public Methods
- beforeGenerateXml()
- afterGenerateElements()