RubyGems Navigation menu

nanoc-cachebuster 0.4.0

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.

版本列表:

  1. 0.4.0 - July 25, 2016 (12.5 KB)
  2. 0.3.1 - May 24, 2012 (11.5 KB)
  3. 0.3.0 - February 26, 2012 (11.5 KB)
  4. 0.2.0 - February 14, 2012 (11.5 KB)
  5. 0.1.2 - May 27, 2011 (11.0 KB)
顯示所有版本(共 7)

Runtime 相依性套件 (1):

  • nanoc >= 3.3.0
  • Development 相依性套件 (2):

  • rake >= 0
  • rspec >= 0
  • 擁有者:

    作者:

    • Arjan van der Gaag

    SHA 256 checksum:

    0d2e7ef8bb2a9441400592101a19028cd7dc15b130651cfa1f68575d7a2eff6e

    總下載次數 25,846

    這個版本 3,207

    Gemfile:
    = 複製 已複製

    安裝:
    =

    License:

    Ruby 版本需求: >= 0

    相關連結: