7.8 Creating CDN Resources： HTTP PULL Advanced Settings
Posted by on 27 August 2016 11:45 AM
Among the CDN Resource management, you can set up the advanced options to fit your needs.
Upon CDN resource creation/edit, click "Advanced Settings".
Secondary CDN Hostname :
Users are allowed to add up to 7 Secondary CDN hostnames with the same origin.
Users can take advantage of parallel download to speed up page loading speed.*
You also need to set up the CNAME for both, CDN hostname and Secondary CDN hostnames.
(1) If you create a CDN resource with settings:
CDN Hostname: cdn.example.com
Secondary Hostname: cdn1.example.com , cdn2.example.com
(2) When end users visit to cdn.example.com , cdn1.example.com, cdn2.example.com ,
Secondary hostnames allow parallel download to speed up loading speed.
Country Access :
To select more than one country – hold Ctrl during selections.
(1) Select default: Visitors from ALL countries can access to the HTTP Pull CDN Sites
(2) Select Allow by default and insert "China" as countries:
(3) Select Block by default and insert "China" as countries:
Hotlink Policy :
Exact URL is needed, wildcard is not supported.
(2) Select Block by default and insert "www.example.com" as URL:
URL Signing :
The URL signing key is similar to a password and can contain a minimum of 6 to a maximum of 32 characters.
Enabling this option provides an entry field to enter a secret key to securely sign any direct URI (Uniform Resource Indicator) link to all files/resources under this URL.
Cache Expiry :
The expiration time of saving data cache (in seconds).
If you fill in "300", the page can be cached up to 300 seconds.
In 300 seconds, CDN node will always use the cache to respond.
The user's browser will also reading the cached version.
Enable Password: tick this checkbox to restrict access to the resource (cdn hostname).
Unauthorized HTML: input the text which will be displayed of unauthorized login.
Username: input username.
Password: input password for the user.
When visitors access to a website using the CDN URL, the browser will prompt them for username and password.
Tick this checkbox to enable MP4 or FLV pseudo streaming.
It protects your files from unauthorized access, but also works along with set cookie on visitor's browser.
CDN system will take different cookies from the same URL as unique and cache in the CDN pops, and this will impact cache hit ratio as there would be multiple cache in the CDN pops for the same files.
CDN related articles, please refer to the below links:
HTTP PULL Resources for Advance Settings : How to set up URL Signing?
For more related articles about CDN, please check our knowledge base :