Saeven
Saeven
CDCloudflare Developers
Created by Saeven on 2/1/2024 in #workers-help
Workers a good solution to adding GeoCookies?
Hey everyone! I've got a client that's asking us to add cookies that identify geolocation before it hits the server (otherwise, if the server sets it, it won't be available on initial request). Is something like this a good use case for workers? I've seen a lot of examples where workers provide routes that can be used to invoke the worker script. But can it act at the request layer to modify it before it hits the host? Thanks!!
20 replies