Fastly is more sophisticated than the general CDN it supports accelerating both dynamic and static content.
To configure.
- Plug in the IP address of your Discourse web server in “Server Address”
- Plug in your desired domain name in “Domain name”
- Point your DNS CNAME for your domain at
global.prod.fastly.netper: Working with CNAME records and your DNS provider | Fastly Documentation
That is it you should be done, no changes needed on Discourse side.