4 ms·
Do you mean like Apache mod_asis [0] which will serve a pre-formatted HTTP response, including the headers, directly from disk? Then your HTTP server can speak
by wolf550e 7y ago
Do you mean like Apache mod_asis [0] which will serve a pre-formatted HTTP response, including the headers, directly from disk?
Then your HTTP server can speak very little HTTP (compare request line to preformatted "GET /file HTTP/", return 404 on mismatch, return preformtted response on match). Maybe also return nice error if request does not have accept-encoding: gzip.
0 - https://httpd.apache.org/docs/2.4/mod/mod_asis.html https://httpd.apache.org/docs/2.4/mod/mod_asis.html