January 23, 2015
The Cache control header option is used to apply a expiry time for your Push Zone files, so that the end-user/browser will keep it cached for a time defined in a provided box called “Expires Header.” You can choose the appropriate time for the value of the cache control header (defined in Hour(s) or Day(s)), and the system will calculate the number of seconds that your desired value stands for, then append it via the max-age header.
In order to verify that this header is applied correctly, you can run following “curl” command on an example file which will display the final max-age value:
~$ curl -I http://foo.bar.netdna-cdn.com/file.png HTTP/1.1 200 OK Date: Thu, 18 Jul 2013 12:34:56 GMT Content-Type: image/png Content-Length: 12345 Last-Modified: Thu, 10 Jul 2013 12:12:12 GMT Connection: keep-alive Server: NetDNA-cache/2.2 Expires: Fri, 19 Jul 2013 12:34:56 GMT Cache-Control: max-age=86400 Accept-Ranges: bytes
- Gzip compression will be enabled for certain files in order to reduce the files sizes for faster delivery. If you hover your mouse over this option you can see file types to be compressed.
Content Disposition is used to force the end-user/browser download all files, as if the user had chosen the “save file as” dialog.
Custom Domain Settings
This is special section where you can add your custom domains (to a maximum of 7) for which you have created a DNS CNAME record pointing to your temporary CDN URL (foo.bar.netdna-cdn.com).
This is fairly self-explanatory. However, there is a useful tip: After you delete your zone you can’t use same name to create a new one. Our internal statistics require us to keep old names, and because of this you can’t use same name twice.