by dbbk · 4y ago · 0 comments
It seems the only way to have control over this is to write your own Cloudflare Workers. There must be a better way? I can't imagine this is an infrequent problem for people at scale.
For anything you can do at build time as a static HTML pages we already strip query parameters from cache keys.
This sounds pretty promising. I'll take a dive and see if I can get it working, thanks for the tip!
You're experiencing friction trying to use something in a way that it's supposed to not be used. (I.e., click-tracking by junking up URLs.) You could look for an answer, or you could take a step back, evaluate your expectations, and then decide not to do what you're trying to do.