-
-
Notifications
You must be signed in to change notification settings - Fork 857
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
Customisable expiration for s3 backend #1222
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to be able to modify the behavior in terms of generating pre-signed urls.
Now the generation of pre-signed URLs is based on the current time.
This leads to the fact that the user refreshing the page will receive each time a new link and the browser cache in his case does not work.
In order to override this behavior, it's essentially copying a lot of code, which I'd like to avoid.
django-storages/storages/backends/s3boto3.py
Lines 580 to 582 in 4ad22c3
I want to override this in order to have discrete values of expiration time, acting over some period of time.
It would be nice to have something like this to be able to modify behavior
The text was updated successfully, but these errors were encountered: