.upsun/config.yaml
includes/example.html
index.html
index.html
Caching and dynamic content
You can use SSI to have caching and dynamic content in one. So one file is cached, while another updates dynamically. For example, you can activate SSI on one route with cache disabled and enable cache on another route:.upsun/config.yaml
cache/example.php
index.php
index.php and refresh the page a few times.
You see the first number updating to the current time, while the second (included) one only changes every 60 seconds.
For more on SSI, see the nginx documentation.