【发布时间】:2019-10-01 20:28:11
【问题描述】:
我尝试使用 serverless-api-gateway-caching 插件设置 AWS API Gateway 缓存。
一切正常,除了 cacheSize。
这是我的缓存配置:
caching:
enabled: true
clusterSize: '13.5'
ttlInSeconds: 3600
cacheKeyParameters:
- name: request.path.param1
- name: request.querystring.param2
缓存配置正确,但缓存大小始终是默认的'0.5'
知道哪里出了问题吗?
sls -v
1.42.3
node --version
v9.11.2
serverless-api-gateway-caching: 1.4.0
问候
【问题讨论】: