ハイテク を縮小化しない、それがスムーズに1つのJSファイルに1つのCSSにCSSファイルやJSファイルを結合しますが、用何らかの理由でそれは分裂なしにします。CombresはJS&CSSファイルを結合するが、私はちょうど私のASP.NET MVCプロジェクトにCombresを追加しました
任意のアイデアなぜですか?あなたは縮小を有効にする必要が
<?xml version="1.0" encoding="utf-8" ?>
<combres xmlns='urn:combres'>
<cssMinifiers>
<minifier name="yui" type="Combres.Minifiers.YuiCssMinifier, Combres">
<param name="CssCompressionType" type="string" value="StockYuiCompressor" />
<param name="ColumnWidth" type="int" value="-1" />
</minifier>
</cssMinifiers>
<resourceSets url="~/combres.axd" defaultDuration="30"
defaultVersion="auto"
defaultDebugEnabled="auto" >
<resourceSet name="siteCss" type="css" minifierRef="yui">
<resource path="~/Content/main.css" />
<resource path="~/Content/css/superfish.css" />
<resource path="~/Content/css/superfish-rtl.css" />
<resource path="~/Content/prettyPhoto/css/prettyPhoto.css" />
</resourceSet>
<resourceSet name="siteJs" type="js">
<resource path="~/Content/js/jquery-1.4.2.min.js" />
<resource path="~/Content/js/superfish.js" />
<resource path="~/Content/prettyPhoto/js/jquery.prettyPhoto.js" />
</resourceSet>
<resourceSet name="adminCss" type="css" minifierRef="yui">
<resource path="~/Content/Site.css" />
<resource path="~/Content/CKEditor/_samples/sample.css" />
<resource path="~/Content/eggplantTheme/jquery-ui-1.8.2.custom.css" />
<resource path="~/Content/TreeView/jquery.treeview.css" />
</resourceSet>
<resourceSet name="adminJs" type="js">
<resource path="~/Content/js/jquery-1.4.2.min.js" />
<resource path="~/Content/js/jquery-ui-1.8.2.custom.min.js" />
<resource path="~/Scripts/general2.js" />
<resource path="~/Content/CKEditor/ckeditor.js" />
<resource path="~/Content/CKEditor/_samples/sample.js" />
<resource path="~/Content/CKEditor/lang/_languages.js" />
<resource path="~/Content/TreeView/jquery.treeview.min.js" />
</resourceSet>
</resourceSets>
</combres>
私は(通常の縮小のために)この記事のすべてのステップに続いてきたと縮小のオプションを有効にご覧くださいdidntの。それがどこにあるのか、それを動作させるために必要なコードを書くことができますか?ありがとう。 – danfromisrael