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

When generating, copy static files instead of requesting #450

Open
eyeseast opened this issue Aug 3, 2017 · 0 comments
Open

When generating, copy static files instead of requesting #450

eyeseast opened this issue Aug 3, 2017 · 0 comments
Milestone

Comments

@eyeseast
Copy link
Contributor

eyeseast commented Aug 3, 2017

I'm currently (as I type this) generating a static site that includes several large video files. There's no reason to send those, or any static files, through the request/response cycle when copying them to a destination directory would have the same effect.

This would probably require subclassing Frozen Flask's builtin freezer, specifically _build_one to decide whether an endpoint needs any actual processing.

@eyeseast eyeseast added this to the 2.0 milestone Aug 3, 2017
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

1 participant