Categories: None [Edit]

nanoc-cachebuster

https://rubygems.org/gems/nanoc-cachebuster
https://github.com/avdgaag/nanoc-cachebuster
Your website should use far-future expires headers on static assets, to make the best use of client-side caching. But when a file is cached, updates won't get picked up. Cache busting is the practice of making the filename of a cached asset unique to its content, so it can be cached without having to worry about future changes. This gem adds a filter and some helper methods to Nanoc, the static site generator, to simplify the process of making asset filenames unique. It helps you output fingerprinted filenames, and refer to them from your source files. It works on images, javascripts and stylesheets. It is extracted from the nanoc-template project at http://github.com/avdgaag/nanoc-template.

Total

Ranking: 35,431 of 180,507
Downloads: 30,048

Daily

Ranking: 35,638 of 180,487
Downloads: 14

Depended by

RankDownloadsName

Depends on

RankDownloadsName
16855,753,735rake
23768,975,035rspec
5,0011,001,905nanoc

Owners

#GravatarHandle
1iconavdgaag