Serverless handles the empty paths as meaning root "/".
Serverless succeeds in creating the endpoints on the apigateway stage.
serverless-api-gateway-caching applies the settings and responds with a success.
[outcome] cache is enabled on stage.
[problem] the endpoint cache did not get disabled.
i.e.
Even though this endpoint "/" does not have caching enabled, since the plugin silently fails with undefined for the operation, the stage level cache settings are propagated to this specific endpoint.
Version Info
npm run sls info
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 12.14.1
Framework Version: 1.71.3
Plugin Version: 3.8.4
SDK Version: 2.3.2
Components Version: 2.34.9
Summary:
When the
path
resolves to""
, the stage level cache settings are auto propagated to this endpoint.Config:
On Deploy
"/"
.i.e. Even though this endpoint
"/"
does not have caching enabled, since the plugin silently fails withundefined
for the operation, the stage level cache settings are propagated to this specific endpoint.Version Info
npm run sls info
package-lock.json