Log in
Model

Context

Magento\Customer\Model\Context

What it does

This class defines constants used for HTTP context variables that help with full page caching in Magento 2.

Developers use these constants to identify cache variations based on customer group and authentication status, ensuring that cached pages are properly segmented for logged-in versus guest customers and different customer groups.