Skip to content

Feature Request: Allow a Custom Nonce Rather than file m_time #19

@umbrae

Description

@umbrae

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions