Skip to content

Unique asset filenames #53

@jmank88

Description

@jmank88

Files which change between releases but have plain names like netstats.min.css can be cached (e.g. by Cloudflare) which causes a mess when a new version is deployed and the old cached files are still served. To avoid this problem, our assets should include some kind of hash of the content in the filename, e.g. netstats.afg34ebc.min.css. This should be possible to do with grunt, and should probably apply to all files under css/, js/, fonts/, and images/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions