@sankalped @Netlify It doesn't.
There is no webserver to perform server-side rendering at request-time. Instead think of @Netlify as a CDN to serve your pre-rendered sites. Includes are typically performed by the templating of a SSG at build time.
See https://www.staticgen.com/ for leading SSGs