News for hackers. Stuff that matters.
Re:Show HN: Static.wiki – read-only Wikipedia using a 43GB S... by carlhjerpe on Friday July 30, 2021 @08:50PM (#28014182)
In a smart webserver this could mean not a whole lot more than a memcpy, and between you and the CDN it probably won't be too high latency.

One would have to version the SQLite DB by version to avoid corruption by cache invalidation.

Re:Show HN: Static.wiki – read-only Wikipedia using a 43GB S... by rkeene2 on Friday July 30, 2021 @10:49PM (#28014810)
My static file HTTP server called "filed" [0] will satisfy a request in as few as 1 system call (no memcpy involved -- the kernel reads the file and sends the buffer to the NIC), by using sendfile(2). Most other webservers do a bit more work, like open the file for every request.

[0] http://filed.rkeene.org/