Server-side use includes either ssi, AWS S3

Is there a way to use ssi on a cloud server or is it classified as dynamic content? I would like sections like title, nav or sidebar to be able to use one file.

example: I have some html files, they use the same header, I want to change "header.shtml" and all the files will be changed. Html sotrge files with S3.

enter code here<!--#include virtual="/includes/header.shtml" --> 
+6
source share
1 answer

Amazon S3 does not support SSI. All content hosted on S3 is static content.

You can process files locally before uploading them to S3 and process any code. Then, as soon as you get the final version, just upload it to S3.

+4
source

Source: https://habr.com/ru/post/952647/


All Articles