Skip to content

Switch to MD5-based cache buster in filename #18

@rondevera

Description

@rondevera

Currently, cache busting is managed by adding a bundle's latest Git SHA to the query string. Two problems:

  • Some CDNs fail to recognize cache busters in query strings.
  • This assumes that Git is being used for version control.

Change from application.min.css?a1b2c3 to application-a1b2c3.min.css (like in Rails 3.1), and drop Git SHAs in favor of MD5 fingerprints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions