routes or subdomain?
Hi guys, i have a quick question, if i want to implement worker for my domain abc.com, on setting worker whats you think the best practice, set a route or a subdomain? I want my worker listen the path where the user go do a process and return a tag wich will sent as variable a third party too with zaraz. #workers-help
1 Reply
Hey, most of the time I use routes, because they are more customizable. Note that if the path part of the pattern is
/*
, there is an optimization which eliminates cold starts, otherwise it can take a few ms for the worker to be started. Custom domains also can't be added via terraform, since the API isn't documented