-
Notifications
You must be signed in to change notification settings - Fork 73
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
More options to handle index.html cache control #297
Labels
Comments
@netwang from blacksheep.server.files import DefaultFileOptions
from blacksheep.server.headers.cache import CacheControlHeaderValue
...
app.serve_files(
"app/static",
fallback_document="index.html",
default_file_options=DefaultFileOptions(
cache_control=CacheControlHeaderValue(no_cache=True, no_store=True),
),
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃殌 Feature Request
Suggested by netwang @netwang 16:30 on gitter:
The text was updated successfully, but these errors were encountered: