Sep 16 2022
Aug 31 2022
Today’s consumers expect to get their videos, podcasts, games, and other content, fast. That’s where CDNs come into play, caching your content in points of presence (PoPs) across the world, and serving it to your users before their attention turns elsewhere.
Of course, there are a lot of CDN providers out there, but not all offer the same capabilities. With Stackpath CDN, end-users are closer to content than ever through dedicated, high-performance Edge locations around the globe. However, it’s really about StackPath’s unique, robust delivery optimization and customization features that takes your end user’s experience to the next level – whether through website acceleration, large file delivery, or video/audio streaming.
Here are 5 steps to faster delivery with StackPath CDN.
For use case purposes, we’re going to set up a website with StackPath CDN. Before you begin, ensure you are able to administer the DNS settings of your website’s public domain name. In our example, we use GoDaddy.com.
Log into the StackPath admin portal and create a new StackPath service (named CDN test in the example below).
Create a new site and provide a name corresponding to the public URL of your website.
Next, StackPath gives you the unique CNAME alias — called the Edge address — to enter in your public DNS namespace, pointing your website to the StackPath environment.
Although the notification says the configuration update could take 24 hours, it typically works within just a few minutes. You cannot continue without this DNS alias validation as proof you are the owner of the DNS domain name.
When the validation is complete, StackPath redirects you to the configuration panel.
Make StackPath CDN run your way through EdgeRules, providing several configuration options to optimize how your CDN integration works for your delivery needs.
The following features are prepopulated for you:
Besides these preconfigured rules, you can specify several custom configuration rules, which follow a simple If / Then approach:
For example:
This rule set is complete, recognizing wildcard, regex, or a direct match with the specified setting (for example, URL or REST API action).
This custom rule definition, not offered by most CDNs, intelligently handles website traffic in cases like these:
To learn more about creating custom or more complex EdgeRules, head over to the StackPath Support Portal.
The main purpose of a CDN service is optimizing website performance, so it shouldn’t be a surprise StackPath CDN has extensive cache settings. You can see a small sample of these in the screenshot below from the CDN Service Control Panel:
Capabilities include:
This configuration pane’s biggest advantage is its ease of use. Most of StackPath CDN service’s powerful features and settings just require a toggle on or off.
Most websites today are protected using an SSL/TLS certificate, letting website visitors know it protects information through encryption. This is especially important when dealing with user credentials, confidential information like credit card details, personally identifying information (PII), and the like.
Most browsers also tell the visitor if your website is protected with a trusted certificate. Having this EdgeSSL integration as part of the StackPath CDN configuration is almost a necessity.
To configure your SSL certificate, first create a free or third party certificate. Then, configure additional options, like forcing http to https redirection or specifying a minimum TLS version, which some websites require.
Note: to use StackPath’s managed certificate service, your domain must point to the StackPath CDN service. If you already have a public or private certificate from another third party certificate authority, you can import this into the StackPath CDN certificate configuration.
Another StackPath CDN feature, not common in other CDN solutions, is Origin Shield.
In a traditional CDN solution, resetting the cache or updating new source content causes each CDN PoP to request new content from the source. This can dramatically impact performance, somewhat bypassing the main reason for using a CDN.
StackPath Origin Shield handles this situation by bundling all requests from the different CDN PoPs to Origin Shield, which in turn sends a single request to the source. This protects the source from getting overloaded.
To configure Origin Shield on your CDN, contact our support team at hi@stackpath.com.
Whether you’re looking for website acceleration, large file delivery, video/audio streaming, delivering far beyond your end-users’ expectations has never been easier with these 5 steps to faster delivery.
Learn more about StackPath CDN or create your account to get started today.