Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File caching #14

Open
MarcSeebold opened this issue Jul 25, 2013 · 1 comment
Open

File caching #14

MarcSeebold opened this issue Jul 25, 2013 · 1 comment

Comments

@MarcSeebold
Copy link

It would be nice to cache often used files content to improve response time (in HttpFileServer::serveFile).

@vinipsmaker
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants