This website requires JavaScript.
Explore
Help
Sign In
deac
/
middleman
Watch
1
Star
0
Fork
You've already forked middleman
0
Code
Issues
Pull requests
Releases
Wiki
Activity
1869
commits
11
branches
271
tags
23
MiB
ca333bb306
Commit graph
3 commits
Author
SHA1
Message
Date
Ben Hollis
fc79459e61
Fix the asset_hash extension to operate on the hash of the rendered output rather than just the source file. This prevents generating the same hash for a file when partials it uses change, or if a helper it uses produces different output. As part of this change I removed the caching from Sitemap::Page#destination_path and asset_hash since they were preventing recalculation of path/hash when partials changed, and I rewrote the Sprockets extension to expose the Sprockets environment to other extension, which included consolidating the JS and CSS Sprockets environments into one.
2012-04-04 00:00:33 -07:00
Ben Hollis
c27a288f1a
Tests for using asset_host with asset_hash
2012-04-01 18:05:20 -07:00
Ben Hollis
073086b79c
Extension to add hash values to asset filenames. This extension causes asset file types (images, scripts, stylesheets, etc) to have a unique identifier appended to their filename that consists of a hash of their contents. This extension also includes a Rack middleware that rewrites references to these assets in HTML, JavaScript, and CSS files, eliminating the need to use special helper functions to include modified filenames in references.
2012-03-04 15:24:38 -08:00