All evaluation is done on our servers. That way you don't leak segment definitions to the client.

In terms of caching, by design we do not have any caching infrastructure. You are free to proxy our API via a CDN if you wish. There is also a good pattern around caching flags within your infrastructure using our webhooks here:
Was this article helpful?
Thank you!