nystudio107 / nginx-craft

An Nginx virtual host configuration for Craft CMS that implements a number of best-practices.
MIT License
310 stars 37 forks source link

Question: Why is SSI include active? #34

Closed hiasl closed 3 years ago

hiasl commented 3 years ago

Question

Your production conf file has server side include activated. Is there a specific reason for this, because I guess this also creates some overhead not needed for a Craft project?

khalwat commented 3 years ago

I use it on all of my Craft projects -- the overhead is likely minimal, but you can turn it off if you like. https://github.com/nystudio107/craft/blob/craft-webpack/cms/templates/_boilerplate/_partials/critical-css.twig#L4