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

1 Comment

  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.

Leave a Reply

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

eighteen + two =