JS和CSS優化工具,Minify 2.1.5 發布

fmms 12年前發布 | 7K 次閱讀 CSS

Minify可以按需對JavaScript以及CSS文件進行合并、壓縮以及緩存,以加快頁面的載入速度。而安裝minify則極其簡單,只需在網站根目錄下上傳程序目錄即可。

  • Combines and minifies multiple CSS or JavaScript files into a single download
  • Uses an enhanced port of Douglas Crockford's JSMin library and custom classes to minify CSS and HTML
  • Caches server-side (files/apc/memcache) to avoid doing unnecessary work
  • Responds with an HTTP 304 (Not Modified) response when the browser has an up-to-date cache copy
  • Most modules are lazy-loaded as needed (304 responses use minimal code)
  • Automatically rewrites relative URIs in combined CSS files to point to valid locations
  • With caching enabled, Minify is capable of handling hundreds of requests per second on a moderately powerful server.
  • Content-Encoding: gzip, based on request headers. Caching allows it so serve gzipped files faster than Apache's mod_deflate option!
  • Test cases for most components
  • Easy integration of 3rd-party minifiers
  • Separate utility classes for HTTP encoding and cache control

JS和CSS優化工具,Minify 2.1.5 發布

Minify 2.1.5 發布了,下載地址:minify-2.1.5.zip   282 KB

 本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!