3

Using M1 at the moment with Varnish for FPC, we always had an issue where Prices would get cached by the first Customer Group that would view a page.

For example, if a Wholesale Customer loaded a product, they would see their lower price. And then if a Retail Customer loaded the same page moments later, they would also see the lower price instead of theirs.

I know you can configure Varnish to account for that, but it was so un-user-friendly to get it right.

So I was wondering, if that will happen with the M2 FPC as well, or if Magento have already accounted for that?

1
  • probably you have to upgrade your M1 Varnish Cache extension, Turpentine?
    – MagenX
    Commented Nov 18, 2017 at 10:01

1 Answer 1

6

Yes, M2 has the different copy of content per Customer Groups.

Plugin in from Customer Module add Customer Group Id to http context that responsible for generate cache id

1
  • how to generate cache by customer id not customer group
    – sivakumar
    Commented Jun 4, 2021 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.