File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/PageCache/etc Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ sub vcl_recv {
92
92
}
93
93
94
94
# Remove all marketing get parameters to minimize the cache objects
95
- if (req.url ~ " (\?|&)(gclid|cx|ie|cof|siteurl|zanpid|origin|mc_[a-z]+|utm_[a-z]+)=" ) {
96
- set req.url = regsuball (req.url , " (gclid|cx|ie|cof|siteurl|zanpid|origin|mc_[a-z]+|utm_[a-z]+)=[-_A-z0-9+()%.]+&?" , " " );
95
+ if (req.url ~ " (\?|&)(gclid|cx|ie|cof|siteurl|zanpid|origin|fbclid| mc_[a-z]+|utm_[a-z]+|_bta_ [a-z]+)=" ) {
96
+ set req.url = regsuball (req.url , " (gclid|cx|ie|cof|siteurl|zanpid|origin|fbclid| mc_[a-z]+|utm_[a-z]+|_bta_ [a-z]+)=[-_A-z0-9+()%.]+&?" , " " );
97
97
set req.url = regsub (req.url , " [?|&]+$" , " " );
98
98
}
99
99
Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ sub vcl_recv {
93
93
}
94
94
95
95
# Remove all marketing get parameters to minimize the cache objects
96
- if (req.url ~ " (\?|&)(gclid|cx|ie|cof|siteurl|zanpid|origin|mc_[a-z]+|utm_[a-z]+)=" ) {
97
- set req.url = regsuball (req.url , " (gclid|cx|ie|cof|siteurl|zanpid|origin|mc_[a-z]+|utm_[a-z]+)=[-_A-z0-9+()%.]+&?" , " " );
96
+ if (req.url ~ " (\?|&)(gclid|cx|ie|cof|siteurl|zanpid|origin|fbclid| mc_[a-z]+|utm_[a-z]+|_bta_ [a-z]+)=" ) {
97
+ set req.url = regsuball (req.url , " (gclid|cx|ie|cof|siteurl|zanpid|origin|fbclid| mc_[a-z]+|utm_[a-z]+|_bta_ [a-z]+)=[-_A-z0-9+()%.]+&?" , " " );
98
98
set req.url = regsub (req.url , " [?|&]+$" , " " );
99
99
}
100
100
You can’t perform that action at this time.
0 commit comments