Re:Run JavaScript on Cloudflare with Workers
by netcraft on Tuesday March 13, 2018 @10:30AM
(#16576373)
ohhh, its one worker per domain, you cant have different ones that match on url? so you have to do that matching in your worker to run different code?
[ Parent
| on HN ]
Re:Run JavaScript on Cloudflare with Workers
by elithrar on Tuesday March 13, 2018 @11:34AM
(#16576965)
Note that Enterprise customers can have multiple scripts-per-domain, allowing you to run specify a specific script per route (or routes). Additional matching logic (e.g. headers, cookies, response codes) can then be done within the Worker itself.