Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • We recommend that the header and query string keys can be configured for caching HTTP responses with unique key-value pairs. For example, in a REST GET endpoint that multiplies two integers:

...

Code Block
Response 1 
{
    "operation": "5 x 5", 
    "result": 25
}

Response 2 
{
    "operation": "2 x 2", 
    "result": 4
}

Response 3
{
    "operation": "3 x 1", 
    "result": 3
}

If int C x int D were additional existing parameters, they would not be cache, cached because they're not configured in the policy.

...