jetheredge/SquishIt — Issue #103: Render() runs every page-load even though debug = false
Author: arefay
Created: 2011-11-17 13:59:43+00:00
State: open

It appears that when setting debug = false in web.config the Render() still runs on every page load. I'm not sure if this was fixed in 0.8.1 (I think I may have read that there was a caching/key issue...) .

In any case, I've noticed slow performance during deployment with debug = false. But if I remove

<% = SquishIt.Framework.Bundle.JavaScript()
.Add("/assets/js/jquery.min.js")
.Add("/assets/js/jquery-ui.min.js")
.Add("/assets/js/jquery.extensions.js")
.Render("/assets/combined/#.js")
%>

and just use static combined file it runs fast again.

Any help would be greatly appreciated! Such a useful tool otherwise!

Thanks