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 {
9292 }
9393
9494 # 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]+)=" ) {
96+ set req.url = regsuball (req.url , "(gclid|cx|ie|cof|siteurl|zanpid|origin|fbclid| mc_[a-z]+|utm_[a-z]+)=[-_A-z0-9+()%.]+&?" , "" );
9797 set req.url = regsub (req.url , "[?|&]+$" , "" );
9898 }
9999
Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ sub vcl_recv {
9393 }
9494
9595 # 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]+)=" ) {
97+ set req.url = regsuball (req.url , "(gclid|cx|ie|cof|siteurl|zanpid|origin|fbclid| mc_[a-z]+|utm_[a-z]+)=[-_A-z0-9+()%.]+&?" , "" );
9898 set req.url = regsub (req.url , "[?|&]+$" , "" );
9999 }
100100
You can’t perform that action at this time.
0 commit comments