Cloudfront缓存策略中查询参数的格式是什么

问题描述

Cloudfront / AWS的缓存策略形式中的查询参数的格式是什么,以允许缓存清除。我想要一个带有任何数字的参数。

image.jpg?5(此处为任意数字)或 image.jpg?v = 5(此处为任意数字)

Cache policy form field here.

解决方法

您需要添加name of the query parameter。您的情况是SELECT score FROM Results GROUP BY score ORDER BY COUNT(*) DESC,score LIMIT 1; 。确保使用“添加查询字符串”按钮添加它。您不能限制只能在此处定义数字值。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...