silvercircle/SMF — pull request #4 by Valodim (2012-07-31 02:03:11+00:00)
Title: a couple of improvements for attachment performance and compatibility

(core) use X-Sendfile, if enabled
(core) Mac OS switched to \n ages ago
(core) simple caching for attachment dir size

tested on lighttpd only, but nginx and apache both support X-Sendfile if so configured. I used modSettings for caching here instead of the regular caching mechanism because it's just one measly integer value.