Knowledgebase: Quick Start
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".

 


Below are some information details which can help you to set up:

 

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.

For example:

(1) If you create a CDN resource with settings:

CDN Hostname: cdn.example.com

Origin: 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 ,
all 3 URL will display the content of "example.com" .

Secondary hostnames allow parallel download to speed up loading speed.

 


IP Access:

(1) Default: Your site can be visited by any IP.

(2) Allow by Default: Your site can only be visited by the IP which you set.

(3) Block by Default: Your site can only NOT be visited by the IP which you set.

 

Country Access :

Modify a rule for access of any content of the resource for a country(ies).

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:
In this case, visitors from ALL countries can access to the HTTP Pull CDN site except "China"

(3) Select Block by default and insert "China" as countries:
In this case, visitors from ALL countries cannot access to the HTTP Pull CDN site except "China"

 

Hotlink Policy :

Exact URL is needed, wildcard is not supported.

(1) Select Disabled: Any websites/domain can access to the HTTP Pull CDN Content.

(2) Select Block by default and insert "www.example.com" as URL:
In this case, any websites/domain cannot access to the HTTP Pull CDN site except "www.example.com"

 

URL Signing :

Enable URL Signing – tick this checkbox to enable it

The URL signing key is similar to a password and can contain a minimum of 6 to a maximum of 32 characters.
Protect your files from unauthorized access with a key and optionally an expiration time.

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.

 

See More: How can I use URL Signing For HTTP Pull CDN resource?

 

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.

 

Password :

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.

Outcome:

When visitors access to a website using the CDN URL, the browser will prompt them for username and password.

 


Pseudo Streaming

Tick this checkbox to enable MP4 or FLV pseudo streaming.

 

Ignore Set-Cookie

It protects your files from unauthorized access, but also works along with set cookie on visitor's browser.
The idea is to get the URL signed before serving the subsequent contents (without token) to the end users

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?
http://noc.emagineconcept.com/index.php?/DotToGo/Knowledgebase/Article/View/817/44/781-http-pull-resources-for-advance-settings--how-to-set-up-url-signing

 

For more related articles about CDN, please check our knowledge base :
http://noc.emagineconcept.com/index.php?/DotToGo/Knowledgebase/List/Index/13



-------------------------------------Thank you for your reading------------------------------------

 

 

(0 vote(s))
Helpful
Not helpful