This article will discuss the basic Push Zone settings and provide a brief description of each function, as well as a method to verify that the setting is correctly applied to the website.
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." An appropriate time for the value of the cache control header will be selected (defined in Hour(s) or Day(s)), and the system will calculate the number of seconds that the desired value stands for, then append it via the max-age header.
In order to verify that this header is applied correctly, the following "curl" command can be executed 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 over this option, the file types to be compressed will be displayed.
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 custom domains can be added (to a maximum of 7) for which a DNS CNAME record has been created, pointing to the site's temporary CDN URL (foo.bar.netdna-cdn.com).
Selecting this will delete the zone. Note that after a zone is deleted, the same name cannot be used to create a new one. The MaxCDN internal statistics are required to keep old names, and because of this the same name cannot be used twice.
We hope this article was helpful and as always, If there are any questions or concerns about any of the topics mentioned in this article, please feel free to reach out to support - we are available 24/7 by chat or email!