edgecase / dieter

Asset pipeline ring middleware
134 stars 22 forks source link

link-to-asset always returns a unique URL for concatenated .dieter assets #39

Open philc opened 11 years ago

philc commented 11 years ago
(dieter/link-to-asset "js/_vendor.js.dieter" dieter-options))
=> /assets/js/_vendor.js-09c7f64118df3c9ff04559a14b850259.dieter

If I curl this URL and then call link-to-asset multiple times afterwards, I always get a new URL. The expected behavior is for the URL to be unchanging after the asset has been generated once (because it's now using the generated file's md5 in the link instead of a timestamp).

Note that link-to-asset works as expected with non-concatenated assets.

DanThiffault commented 11 years ago

I'm getting the same behavior on non-manifest Less files with includes.