jetheredge/SquishIt — Issue #146: Only one compressed file generated.
Author: bang75
Created: 2012-02-07 12:14:58+00:00
State: open

I upgraded to version 0.8.5 and the my code started to generate only one compressed file even if the combination of source files differs. Have I missunderstod something or doing something wrong or is this a bug ? because if it is, it feels serious and I can't find anyone one else having the same problem...

The cause of the problems seems to be that the hashkey replacing the # in the output file is only dependant of the output filename, not the combination of source files, that I belive is correct.

code to clearify:

page 1: Bundle.Css().Add("~/Test1.css").Add("~/Test3.css").Render("~/Compresser1_#.css");
page 2: Bundle.Css().Add("~/Test1.css").Add("~/Test2.css").Render("~/Compresser2_#.css");

Both these pages will generate the same css link and the content of the file will be dependant of which page that are loaded first.