humanmade / altis-cloud

Cloud Module for Altis
https://docs.altis-dxp.com/cloud/
9 stars 2 forks source link

More query params to ignore by default #740

Open roborourke opened 1 year ago

roborourke commented 1 year ago

I came across an extensive list of marketing related query params that could be ignored by the CDN and batcache by default:

'utm_source' 
  'utm_medium'
  'utm_campaign'
  'utm_expid'
  'utm_term'
  'utm_content'
  'mtm_source'
  'mtm_medium'
  'mtm_campaign'
  'mtm_keyword' 
  'mtm_cid'
  'mtm_content' 
  'pk_source'
  'pk_medium'
  'pk_campaign'
  'pk_keyword'
  'pk_cid' 
  'pk_content'
  'fb_action_ids'
  'fb_action_types'
  'fb_source' 
  'fbclid'
  'campaignid'
  'adgroupid' 
  'adid' 
  'gclid'
  'age-verified'
  'ao_noptimize'
  'usqp'
  'cn-reloaded' 
  '_ga' 
  'sscid'
  'gclsrc' 
  '_gl' 
  'mc_cid'
  'mc_eid' 
  '_bta_tid' 
  '_bta_c' 
  'trk_contact'
  'trk_msg' 
  'trk_module' 
  'trk_sid' 
  'gdfms'
  'gdftrk' 
  'gdffi' 
  '_ke' 
  'redirect_log_mongo_id'
  'redirect_mongo_id'
  'sb_referer_host'
  'mkwid'
  'pcrid' 
  'ef_id' 
  's_kwcid' 
  'msclkid' 
  'dm_i' 
  'epik' 
  'pp' 
  'gbraid' 
  'wbraid'

Defaults: https://github.com/humanmade/altis-cloud/blob/master/load.php#L30

Acceptance criteria

kovshenin commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @ferschubert-hm @jerico @mikelittle @wisyhambolu

kovshenin commented 1 year ago

@roborourke could you please share the link to this extensive list so we could keep an eye on it for future changes? Thanks!

roborourke commented 1 year ago

Sorry yeah, was from WP Rocket Cache

https://docs.wp-rocket.me/article/971-caching-query-strings