我正在寻找一个库或框架的建议来处理 css 和 js 文件的运行时组合/压缩,特别是在 asp.net 和 MVC 中。
两个领先的竞争者似乎是 Shinkansen 和 客户端依赖。
尽管 CSS Agent(仅限 CSS)有一些不错的功能,例如 CSS 常量。
我对压缩方面不太感兴趣,因为我对我们流量相对较低的网站的好处持怀疑态度,但我喜欢将所有文件组合成单个请求并自动化缓存和压缩的想法。依赖关系。
奇怪的是,这些库/框架似乎并不更受欢迎——我错过了什么吗?
I'm looking for recommendations for a library or framework to handle runtime combination/compression of css and js files in asp.net and MVC in particular.
The two leading contenders seem to be Shinkansen and Client Dependency.
Though CSS Agent (CSS only) has some nice features like CSS constants.
I'm less interested in the compression side of things as I'm dubious of the benefits for our relatively low traffic sites but I like the idea of combining all the files into a single request and automating the caching & dependencies.
It seems strange that these libaries/frameworks don't seem to be more popular - am I missing something?
发布评论
评论(1)
我正在使用 Chirpy。这是编译时间,但工作完美。
正如作者所说:“Chirpy 拥有上帝般的能力”。 :)
I'm using Chirpy. It's compile time, but works flawlessly.
As author says: "Chirpy has Godlike abilities". :)