Hello,
I'm using Squishit in MVC project with 2 different layouts, like this:
@Html.Raw(Bundle.Css()
.Add("/Content/Styles/Shared/all.css")
.Add("/Content/Styles/Site/screen.css")
.Add("/Content/Styles/Site/javascript.css")
.Add("/Content/Styles/Site/pre-beta.css")
.Add("/Scripts/tiny_mce/style.css")
.Add("/Content/Plugins/Jquery.UI/theme.css")
.Add("/Content/Plugins/Fancybox/jquery.fancybox-1.3.4.css")
.Add("/Content/Plugins/Social-media-tabs/dcsmt.css")
.Add("/Content/Plugins/Jquery.PeelBack/jquery.peelback.css")
.Add("/Content/Styles/Shared/xtech-extension.icon-fonts.css")
.Add("/Content/Styles/Shared/xtech-extension.loginbox.css")
//.ForceRelease()
.WithMinifier<SquishIt.Framework.Minifiers.CSS.YuiCompressor>()
.Render("/Content/service_combined_#.css"))
Till now application startup was taking about 2-3 mins.
Recently new layout have been added and startup takes about 15 mins when compression for added layout is enabled.
In this case i would like to prepare compressed files outside production enviroment, and just place them in the right place.
So here's my question: how to tell squishit not to render new file each time aplication is started?
Instead i would like SquishIt to load a file that is already there.
PK