Hi there,
We're happy users of django-static, but we've run into a couple problems with our load balanced configuration that would make it a lot easier if we could guarantee that the nonce being used will be the same across all of our boxes.
With that in mind, we figured we could change the nonce to just be our current version number - that way it's replicatable across all boxes, and it still has all of the same benefits of django-static in production.
Would you consider allowing a custom parameter - maybe something like DJANGO_STATIC_CUSTOM_NONCE - that could be set in settings.py and always used instead of file mtime?
Thanks, any thoughts appreciated!
Hi there,
We're happy users of django-static, but we've run into a couple problems with our load balanced configuration that would make it a lot easier if we could guarantee that the nonce being used will be the same across all of our boxes.
With that in mind, we figured we could change the nonce to just be our current version number - that way it's replicatable across all boxes, and it still has all of the same benefits of django-static in production.
Would you consider allowing a custom parameter - maybe something like DJANGO_STATIC_CUSTOM_NONCE - that could be set in settings.py and always used instead of file mtime?
Thanks, any thoughts appreciated!