3 ms·
Only if the web server transparently converts non-HTML sources (Markdown, Word docs, Google docs, LaTeX, image galleries) into HTML on the fly.
by starkparker 3y ago
Only if the web server transparently converts non-HTML sources (Markdown, Word docs, Google docs, LaTeX, image galleries) into HTML on the fly.
- marginalia_nu 3y agoEspecially older servers have quite a lot of those types of capabilities, rendering directories to fancy indexes, processing input files in various ways. Like they'd even spawn arbitary processes for you (w/ CGI).
- myself248 3y agoWeb browsers can render more than just HTML, can't they? Plain text at the very least, many do PDF as well. That function really seems like it should be in the browser anyway. The server serves, the renderer renders.
- PaulDavisThe1st 3y agoif the server side file format has something semantically similar to #include then your lovely simple binary model fails (without browsers having the same)
- marginalia_nu 3y agoHTML has this, yet browsers seem to cope...?
- roywiggins 3y agonginx has a lot of modules, this one can render markdown apparently https://nginx-extras.getpagespeed.com/modules/markdown/ https://nginx-extras.getpagespeed.com/modules/markdown/