Is there any way to use ssi on cloudfront or or is it categorized as dynamic content? I would like to have sections like a header, nav or sidebar be able to use one file.
example:i have some html files,they use the same "header" section,i only want to change "header.shtml" and all files will change. The html files sotrge with S3.
enter code here<!--#include virtual="/includes/header.shtml" -->
Amazon S3 does not support SSI. All content hosted on S3 is static content.
You could process the files locally before you upload them to S3 and handle any code includes. Then, once you have the final version, just upload that to S3.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With