Caution: This documentation is for Exponential, from version 3.x to 6.x.
For 5.x documentation covering Platform see Exponential Platform Documentation, for difference between legacy and Platform see 5.x Architecture overview.

CustomHosts

Summary

This setting spreads the load of static files to separate domains.

Usage

CustomHosts[<key>]=<location>

Description

This setting enables you to spread the load of static files to separate domains. This is recommended by YDN Performance Best Practices.The key should match file extension: ".js" or ".css"It is required not to use an end slash after the location.

This setting is case sensitive.

Examples

Example
CustomHosts[.js]=http://static.example.com

Files with the extension .js (javascript files) are to be served from static sub domain.

Ricardo Correia (22/01/2013 10:59 am)

Ricardo Correia (22/01/2013 10:59 am)


Comments

There are no comments.