3 ms·
When you serve from the filesystem, your content is usually in the filesystem cache in practice, and then it's being served from memory. Adding a memory cache
by littlestymaar 7y ago
When you serve from the filesystem, your content is usually in the filesystem cache in practice, and then it's being served from memory.
Adding a memory cache on top of the filesystem cache is probably a waste of time for no gain (unless your workload has really specific pattern maybe…).
- byroot 7y agoTo add to this, most webservers will use `sendfile(2)` for static files.
- littlestymaar 7y agoThat wouldn't work for https though right? (unless you are behind a reverse proxy of course, but that doesn't fit to the whole discussion).