如何组织缩小和包装的css和js文件加快网站? [英] How to organize minification and packaging of css and js files to speed up website?

查看:120
本文介绍了如何组织缩小和包装的css和js文件加快网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的网站应用程序进行速度优化。我发现了一些做法。
例如,来自Yahoo的加速您的网站的最佳做法
其中包括:




  • 缩小JavaScript和CSS。

  • 最小化HTTP



我的问题是您使用的基础架构,工具和构建过程推荐执行此操作。

根据 JavaScript压缩版,最有效的工具是 YUI Compressor JSMin


I am doing speed optimization for my website application. And I found some practises to do that. For example Best Practices for Speeding Up Your Web Site from Yahoo. Among them are:

  • Minify JavaScript and CSS.
  • Minimize number of HTTP Requests by combining several files (css, js) into one.

My question is what infrastructure, tools and building process you use or can recommend to perform that?

解决方案

According to the JavaScript Compression Rater, the most efficient tool is the YUI Compressor or JSMin.

这篇关于如何组织缩小和包装的css和js文件加快网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆