Can AWS API Gateway cache invalidate specific entries based on the response content?

こ雲淡風輕ζ 提交于 2019-12-09 03:51:27
  1. As you observed, API Gateway caches the result of your endpoint regardless of the status code.

  2. No, not at this time. I can bounce the idea to see if this is something we can support in the future.

Even if API Gateway conditionally did not cache the 404, the caller would need to call the endpoint again anyway, so why not return the result synchronously? This pattern is how most cached APIs that I'm aware of behave and would allow your API to work with what API Gateway offers today.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!