...
首页> 外文期刊>A List Apart >Better JavaScript Minification
【24h】

Better JavaScript Minification

机译:更好的JavaScript压缩

获取原文
           

摘要

Like CSS, JavaScript works best and hardest when stored in an external file that can be downloaded and cached separately from our site's individual HTML pages. To increase performance, we limit the number of external requests and make our JavaScript as small as possible. JavaScript minification schemes began with JSMin in 2004 and progressed to the YUI Compressor in 2007. Now the inventor of Extreme JavaScript Compression with YUI Compressor reveals coding patterns that interfere with compression, and techniques to modify or avoid these coding patterns so as to improve the YUI Compressor's performance. Think small and live large.
机译:与CSS一样,JavaScript存储在外部文件中时效果最佳,也最困难,该文件可以与我们网站的各个HTML页面分开下载和缓存。为了提高性能,我们限制了外部请求的数量,并使我们的JavaScript尽可能小。 JavaScript压缩方案始于2004年的JSMin,并于2007年发展到YUI Compressor。现在,使用YUI Compressor的Extreme JavaScript Compression的发明者揭示了干扰压缩的编码模式,以及修改或避免这些编码模式以改善YUI的技术。压缩机的性能。小处着眼,大处着眼。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号