Use Minify to optimize website performance. Minify is an application developed with PHP5. it improves website performance by following some Yahoo optimization rules. It merges multiple CSS or JavaScript files and removes unnecessary spaces and annotations.
MinifyIt is an application developed with PHP5 and improves website performance by following some Yahoo optimization rules. It will merge multiple CSS or JavaScript files, remove unnecessary spaces and comments, perform gzip compression, and set the browser cache header. Minify is designed like Yahoo's Combo Handler Service, but Minify can merge any JavaScript and CSS files you want to merge.
Generally, the bottleneck of website speed lies in the front-end, and the most critical is the loading speed of resources. However, most browsers have a limit on the number of concurrent requests for a single domain name, therefore, if a page contains many resources, such as CSS and JavaScript files, the loading speed of the website will be significantly reduced. a better way is to access multiple files through one request, this will not affect the previous file maintenance, but will reduce the number of clear resources, Minify is born for it.
The following two figures show a comparison of the website request time before Minify is enabled and after Minify is enabled. we can see that after Minify is enabled, the resource loading time is reduced from 125 ms to ms, A total of 50% of the time is saved.
Http://www.bkjia.com/PHPjc/445823.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/445823.htmlTechArticleMinify is an application developed with PHP5 to improve website performance by following some Yahoo optimization rules. It will merge multiple CSS or JavaScript files and remove unnecessary spaces and notes...