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

mmap for static files #95

Open
Changaco opened this issue Jul 21, 2022 · 0 comments
Open

mmap for static files #95

Changaco opened this issue Jul 21, 2022 · 0 comments

Comments

@Changaco
Copy link
Member

Aspen currently supports two possibilities for static files: open and read them every time they're requested; or store their contents in Python bytestrings. Mapping them using mmap could be an interesting third possibility, and probably a good default for files that aren't too large.

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

1 participant