Questions tagged [asset-finger-printing]

Asset Fingerprint is a Ruby on Rails plugin (supports Rails versions 2.2.x & 2.3.x, for Rails 3+ see Rails Version Support) to fingerprint asset files using MD5 check-sum (or time-stamp or anything else you like) in file names to improve cache-ability compared to the default Rails asset caching strategy.

Asset Fingerprint is a Ruby on Rails plugin (supports Rails versions 2.2.x & 2.3.x, for Rails 3+ see Rails Version Support) to fingerprint asset files using MD5 check-sum (or time-stamp or anything else you like) in file names to improve cache-ability compared to the default Rails asset caching strategy.

3 questions
3
votes
1 answer

Rails 4 fingerprinting causing 404 for bootstrap assets in production environment

I'm using the bootstrap-sass gem within my Rails 4 application and I have used Glpyphicons font that comes packed with bootstrap for icons across my application. In development, these icons show up fine. However, in any non-development environment,…
1
vote
2 answers

How to make webpack generate consistent hashes across multiple builds

Background In a Webpack configuration, you can specify the naming convention for emitted files as in [name]-[hash].js. I use this in combination with the html-webpack-plugin to generate .html.erb partials for use in a Rails app to include correct…
Kyle Ramirez
  • 81
  • 1
  • 6
1
vote
1 answer

Get fingerprint to work with sass.

I'm deploying my application and I'm having trouble with the images in my application.css.sass file. When I visit my page, the css links to something like icon-login.png but thanks to the fingerprint from precompile the actual filename is…
Peter Boomsma
  • 8,851
  • 16
  • 93
  • 185