Last active
January 19, 2023 00:00
-
-
Save ganobrega/d103e3fd184f2ef941a84ded81468cc1 to your computer and use it in GitHub Desktop.
VTEX - Utils
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. `/checkout/cart/add/?sku=0000&qty=1&seller=1&sc=1&redirect=true` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you want to vary by the segment of the client (language, currency, promotions, and anything else inside the vtex_segment cookie), create a route that matches with /_v/segment/* | |
If you want to use all cookies, including the vtex_session, and therefore not cache anything in the CDN (as CDNs shouldn't cache sensitive/personal data), create a route that matches with /_v/private/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment