What should a developer do to give customers the ability to invalidate the API cache?

2 Comments

  1. Marilyn
    Author

    I classify that the answer is:
    Attach an InvalidateCache policy to the IAM execution role that the customers use to invoke the API. Ask the customers to send a request that contains the Cache-Control:max-age=0 HTTP header when they make an API call.

  2. Christine
    Author

    From my point of view, the answer is:
    Attach an InvalidateCache policy to the IAM execution role that the customers use to invoke the API. Ask the customers to send a request that contains the Cache-Control:max-age=0 HTTP header when they make an API call.

Leave a Reply

Your email address will not be published. Required fields are marked *

16 − eight =