有没有办法在cloudfront上使用ssi,或者它被归类为动态内容?我希望像一个标题,导航或侧栏能够使用一个文件的部分。例如:我有一些html文件,它们使用相同的"header“部分,我只想更改"header.shtml”,所有文件都会更改。html文件是用S3存储的。
enter code here<!
我正在尝试设置以下源自定义标头Value: max-age=31536000但是它给出了com.amazonaws.services.cloudfront.model.InvalidArgumentException: The parameter HeaderName : Cache-Control is not allowed. (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidArgument;错误。
我尝试了多种方法,设置了最小TTL、默认T