sam
(Sam Saffron)
August 23, 2017, 3:25pm
6
Fastly does standard origin pull, you don’t need to fuss with Varnish. We have already 2 howtos that cover this depending on your level of adventure/pain.
So you’d like to use a CDN to speed up worldwide access to common assets on your Discourse forum?
Sign up with the CDN of your choice – we use and strongly recommend Fastly .
CloudFlare CDN and Discourse have not historically played well together, so we do not recommend running CloudFlare CDN at this time.
The configuration will look something like this:
[image]
What you’re looking for is three main settings:
The origin address, which is the URL where your forum is currently …
Fastly , CloudFlare and a few other CDNs offer a mode where they accelerate dynamic content.
In a nutshell you point your domain IP address at the CDN and the CDN will intelligently decide how to deal with the request.
Static content can be easily served from cache
Dynamic content can be routed to the site.
This provides some advantages over only shipping static assets which is covered in the CDN howto .
You can elect for “shielding ” that protects your site from traffic spikes.
Dynamic cont…
https://community.fastly.com/ is configured using “full site CDN acceleration”
4 Likes