[API Gateway] Method Overrides Should Display Caching Status

0

When I have overrides applied to my cache settings, I don't see them after selecting the method of my request in the Stages section of API Gateway. Some of my settings are visible, but my cache settings are not.

Enter image description here

Zach S
已提问 4 个月前118 查看次数
1 回答
0

Hi,
You need to enable the staging cache in advance, and then you can see the cache settings in your "Edit method overrides".

Note[1]: When you enable caching for a stage, only GET methods have caching enabled by default. This helps to ensure the safety and availability of your API. You can enable caching for other methods by overriding method settings[2].
在此处输入图片描述

[1]https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html#enable-api-gateway-caching
[2]https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html#override-api-gateway-stage-cache-for-method-cache

profile picture
已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则