When managing a Pull Zone, there’s a tab called Settings, and in this tab there are some extra options which can be utilized to get the best out of your Pull Zone.

  1. Origin IP Resolution
    This option will allow you to manually define the IP behind which your Website or application is located. Note that in case that your origin server is behind a dynamic IP, this option should be disabled so we can query DNS for current origin server IP address from where we suppose to cache your content.
  2. Set Default Cache Time
    This option is meant to set a default expiry time/TTL in case the origin does not have one.
  3. Override Cache-Control Header

    Should you require a longer TTL or to override the one set on the origin, this is the option for you.

  4. GZip Compression
    This option needs to be enabled at all times, with the exception of if the origin server already has GZip turned on, or if your application requires GZip to be turned off.
  5. Query String
    When enabled, this option will treat each file with Query Strings (e.g. “file.css?v=183791028301”) as a separate cacheable file.
  6. Content Disposition
    This will set the Content-Disposition header for every file in this zone, forcing all files to behave as if the end-user chose the “save as” dialog.
  7. Strip All Cookies
    This option is extremely useful as it tells the CDN to ignore all cookies (e.g. session cookies set by CloudFlare).
  8. Pseudo Streaming:
    This option needs to be enabled if you want to serve some media files (flv and mp4 ONLY with h.264 encoding) via your Pull Zone. Please note that first request to a non-cached big-size media file will be slow.
  9. Use Stale
    Serve expired content while retrieving updated content or when the origin server is no longer available. In other words, cached files on the CDN will be served even if the origin server is down. Use with extreme caution.
  10. Ignore Cache Control:
    Ignore any TTL/Expiry header set on the origin and instead use the settings in the Cache Settings tab.
  11. X-Forwarded-For (XFF)
    The X-Forwarded-For (XFF) HTTP header field is a de facto standard for identifying the originating IP address of a client connecting to a web server through an HTTP proxy (e.g. MaxCDN).
    Check out some use case examples.
    Pull Zone Settings
  12. Raw Log Storage

    This option will allow you to store your logs to S3 bucket on regular basis. You can use following strings for log format:

    bytes, cache_status, client_asn, client_city, client_continent, client_country, client_ip, client_latitude, client_longitude, client_state, hostname, method, pop, protocol, query_string, referer, scheme, status, time, uri, user_agent

    Follow this tutorial to enable and configure backing up raw logs to S3 bucket.