This is an old revision of the document!
Can you Exclude the Price Block from public Cache for Only the Logged-in Users?
You have a situation where pricing varies per user and is fetched via API from an external ERP system . This system only applies to logged-in users. Users who are logged out should not see pricing at all.
but if you check the header, the logged-in page is still served from litemage public cache. You want to exclude the Price Block from public Cache for Only the Logged-in Users. How?
Caching pages with this kind of setup is tricky.
LiteMage is able to cache different prices per customer group, but not per individual customers.
For logged-in users, you could make the price block into a private ESI block and configure it to be uncacheable, but you can't treat the block differently for logged-in and non-logged-in users. A custom solution would be required.