Affected: JavaScript (client)
Overview
Sometimes, it is necessary to bootstrap from a CDN that supports Edge Side Includes (ESI). ESIs tell the CDN to make a request to an endpoint somewhere and to include the request's response in the page it serves.
Solution
Follow these steps to bootstrap using server-rendered content:
- Set up an instance of a server-side SDK to make the evaluation.
- Create an endpoint to receive the flags sent to the CDN from the server side.