nghttpd: Cache fd
Implement fd caching for static files. The response body for such as 404 was dynamically generated previously, but now it is written in temporally file and its fd is cached. Currently, cache is reference counted and expired when count becomes 0. This makes caching is not effective other than "busy" period, but we don't need this feature if we are not busy.
Showing
This diff is collapsed.
Please register or sign in to comment