You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think it's a good idea to implement this feature in HttpFileServer::serveFile static method, because it'd require a global variable that can cause problems to multithreaded programs or decrease the performance through the use of mutexes.
But it's indeed a good idea to implement this feature in HttpFileServer class. Another class where cache would be great to decrease latency of the response is HttpServerRequestRouter.
I documented this idea on roadmap wiki page and I'll use this issue to track the progress. Thanks for the feedback.
I'm participating of Google Summer of Code this year and unfortunately, I'm way behind of my proposed timeline, then I'm super late and this feature in Tufão will have to wait.
It would be nice to cache often used files content to improve response time (in HttpFileServer::serveFile).
The text was updated successfully, but these errors were encountered: