ManifestStaticFilesStorage should expose a "hash" of the manifest file.
It would be great if ManifestFilesMixin
could expose a manifest_hash
that changes whenever *anything* in the manifest itself changes. This would allow SPAs (or applications enhanced with htmx/unpoly etc) to send along a header in responses ala X-Asset-Hash
and allow them to perform a full reload if the header changes.
I'll be opening a PR for discussion soon.
Change History
(5)
Owner: |
changed from nobody to Florian Apolloner
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
In afa2e28: