[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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南