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

Open
philc opened this Issue Jan 30, 2013 · 1 comment

Projects

None yet

2 participants

@philc
philc commented Jan 30, 2013
(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
Contributor

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

@DanThiffault DanThiffault referenced this issue in DanThiffault/dieter Mar 11, 2013
@DanThiffault DanThiffault Load previously precompiled assets. Fixed bug in new file scanning. F…
…ixed string based dieter config options
f72ae61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment