5 ms·
That's how the Kore web server works ( https://kore.io/ https://kore.io/ ); it makes you generate a static.h file at compile time that contains all of you your
by damien 13y ago
That's how the Kore web server works ( https://kore.io/ https://kore.io/ ); it makes you generate a static.h file at compile time that contains all of you your static content.
But like you say, I have to wonder if it actually makes a difference performance-wise. The kernel will cache the static file data anyways. The only improvement I can see is maybe to avoid having to look up file metadata (length and mtime)? Or to avoid a syscall?