News for hackers. Stuff that matters.
Re:I made a simple geolocation service by tyingq on Friday July 24, 2020 @09:47AM (#23939408)
He could have used the CF cache API in the worker, which would drop the cost quite a lot.
Re:I made a simple geolocation service by georgyo on Friday July 24, 2020 @09:56AM (#23939519)
How would it reduce the cost? They are only return data from inside the header of the request they received and doing (an unnecessary) lookup to turn the country code into a country name.

What would you cache it cheaper?

No matter what his worker needs the smallest time/memory slot there is. You cannot make it cheaper while still using workers.