Changeset [5bca24e9e59b94fc68d74bd88d0821a4810c74af] by Mathieu Arnold

April 25th, 2012 @ 12:55 PM

Prevent gzip files from being gratuitously different.

By default, mtime is 0 and in that case, Zlib will set it to,
and each time the same uncompressed file is compressed, the output will
be different. So I chose another integer, 1 seemed nice, but any would
do, it just needs to be the same every time.

Committed by Mathieu Arnold

  • M lib/sprockets/asset.rb
  • M lib/sprockets/static_asset.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

JavaScript dependency management and concatenation
<a href=""></a>