Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More query params to ignore by default #740

Open
1 task
roborourke opened this issue Mar 24, 2023 · 3 comments
Open
1 task

More query params to ignore by default #740

roborourke opened this issue Mar 24, 2023 · 3 comments
Labels
could have Could be done, or nice to have, low priority for now

Comments

@roborourke
Copy link
Contributor

roborourke commented Mar 24, 2023

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

  • The default list is updated in the default Batcache configuration
@mikelittle mikelittle added the to refine Issues needing refine label Mar 29, 2023
@kovshenin kovshenin added could have Could be done, or nice to have, low priority for now and removed to refine Issues needing refine labels Apr 12, 2023
@kovshenin
Copy link
Contributor

@kovshenin
Copy link
Contributor

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

@roborourke
Copy link
Contributor Author

Sorry yeah, was from WP Rocket Cache

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could have Could be done, or nice to have, low priority for now
Projects
None yet
Development

No branches or pull requests

3 participants