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

Cache files #15

Open
benruijl opened this issue Apr 30, 2019 · 2 comments
Open

Cache files #15

benruijl opened this issue Apr 30, 2019 · 2 comments

Comments

@benruijl
Copy link

At the moment it seems that on every request, a file is loaded from disk. Can this be cached?

@ivanceras
Copy link

This is actually good, since I'm mostly using this for development. Caching files would be a nightmare when used in development. I've used simple-http-server before but it seems to be caching a lot of files which requires restarting the server over and over.

@brson
Copy link
Owner

brson commented Jun 29, 2019

Thanks for the suggestion.

Since this is partially a teaching tool, and for simplicity sake, I'm inclined not to cache files and leave it up to the OS's own page cache.

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

No branches or pull requests

3 participants