Configure downstream caching

Downstream caching refers to the caching instructions that calling API clients (for example, browsers) should follow.

How to

  1. In the Downstream cacheability section, from the Caching option menu, select the type of downstream caching that you want to implement.
  2. Do one of these steps:
    If...Then...
    If you selected Allow caching, then do these steps:
    1. From the Cache lifetime menu, select the option for the maximum lifetime of cached objects.

      This determines the value of the Expires header.

    2. If you selected Fixed value in the previous step, in the Max age field, enter the maximum time for caching content.
      Note: You can specify this parameter in seconds, minutes, hours, or days. In each case, the value must be between 1 and 1000000.
    3. From the Send headers menu, select the type of headers that you want to send downstream in the response to the client.
    4. Optional: To disallow storing of HTTP responses in a shared cache, set the Mark as private switch to Yes.

      This adds the Private directive to the Cache-Control header.

    If you selected Allow caching, require revalidation, then optionally, to disallow storing of HTTP responses in a shared cache, set the Mark as private switch to Yes.

    This adds the Private directive to the Cache-Control header.

    If you selected any other option, then move on to Configure cache key query parameters.

Next steps

Configure cache key query parameters