Best WordPress Hosting
 

KeyCDN Launches Country Based Caching

via keycdn.com => original post link

KeyCDN supports now country code based caching of your assets. Our edge servers derive the two-letter country code from the client IP address, that code is used for the cache key and forwarded to the origin server. Each time the client comes from a different country creates a dedicated cache entry.

Why is country based caching useful?This is especially useful if your website should provide different content for countries, such as legal disclaimers. KeyCDN country based caching allows you to deliver different versions of your content that comply with legal requirements, depending on which country your website visitor is located in.

Configure caching depending on the viewer’s locationYou can enable the Cache Key Country option in your Zone settings. The country code is derived from the client IP address. This will add the X-Country-Code header to the origin request with the two-letter country code (ISO 3166-1 alpha-2).