[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8579":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":27,"discoverSource":28},8579,"minify","mrclay\u002Fminify","mrclay","Combines. minifies, and serves CSS or Javascript files","",null,"PHP",3001,464,144,59,0,2,30,"BSD 3-Clause \"New\" or \"Revised\" License",false,"master",true,[],"2026-06-12 02:01:55","## Minify is no longer regularly maintained\n\nThe original authors no longer recommend using Minify, especially previous versions, which were not designed to handle modern JS and CSS syntax. Instead, use an up-to-date performance measurement tool like [Lighthouse](https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002Foverview) and follow its recommendations.\n\nIn 2010, Minify offered a fine improvement for some websites, but browsers and HTTP servers are now much better, and Minify may offer only a marginal performance benefit in narrow cases. Also both JS and CSS now change rapidly, and new syntaxes are likely to lead to broken code being served through Minify.\n\n## About\n\nMinify is an HTTP server for JS and CSS assets. It compresses and combines files\nand serves it with appropriate headers, allowing conditional GET or long-Expires.\n\n| *Before* | ![7 requests](http:\u002F\u002Fmrclay.org\u002Fwp-content\u002Fuploads\u002F2008\u002F09\u002Ffiddler_before.png) |\n|----------|-----------------------------------------------------------------|\n| *After*  | ![2 requests](http:\u002F\u002Fmrclay.org\u002Fwp-content\u002Fuploads\u002F2008\u002F09\u002Ffiddler_after.png)  |\n\nThe stats above are from a [brief walkthrough](http:\u002F\u002Fmrclay.org\u002Findex.php\u002F2008\u002F09\u002F19\u002Fminify-21-on-mrclayorg\u002F) which shows how easy it is to set up Minify on an existing site. It eliminated 5 HTTP requests and reduced JS\u002FCSS bandwidth by 70%.\n\nRelative URLs in CSS files are rewritten to compensate for being served from a different directory.\n\n## Static file serving\n\nVersion 3 allows [serving files directly from the filesystem](static\u002FREADME.md) for much better performance. We encourage you to try this feature.\n\n## Support\n\nPost to the [Google Group](http:\u002F\u002Fgroups.google.com\u002Fgroup\u002Fminify).\n\n## Installation\n\nSee the [install guide](docs\u002FInstall.wiki.md).\n\n## Configuration & Usage\n\n(Using 2.x? [Here are the 2.x docs](https:\u002F\u002Fgithub.com\u002Fmrclay\u002Fminify\u002Ftree\u002F2.x\u002Fdocs).)\n\nSee the [user guide](docs\u002FUserGuide.wiki.md).\n\nMinify also comes with a [URI Builder application](docs\u002FBuilderApp.wiki.md) that can help you write URLs\nfor use with Minify or configure groups of files.\n\nSee the [cookbook](docs\u002FCookBook.wiki.md) for more advanced options for minification.\n\nMore [docs are available](docs).\n\n## Unit Testing\n\n1. Install dev deps via Composer: `composer install`\n1. `composer test` or `phpunit`\n\n## Warnings\n\n* Minify is designed for efficiency, but, for very high traffic sites, it will probably serve files slower than your HTTPd due to the CGI overhead of PHP. See the [FAQ](docs\u002FFAQ.wiki.md#how-fast-is-it) and [CookBook](docs\u002FCookBook.wiki.md) for more info.\n* If you combine a lot of CSS, watch out for [IE's 4096 selectors-per-file limit](http:\u002F\u002Fstackoverflow.com\u002Fa\u002F9906889\u002F3779), affects IE 6 through 9.\n* Minify *should* work fine with files encoded in UTF-8 or other 8-bit encodings like ISO 8859\u002FWindows-1252. By default Minify appends \";charset=utf-8\" to the Content-Type headers it sends.\n\n## Acknowledgments\n\nMinify was inspired by [jscsscomp](http:\u002F\u002Fcode.google.com\u002Fp\u002Fjscsscomp\u002F) by Maxim Martynyuk and by the article [Supercharged JavaScript](http:\u002F\u002Fwww.hunlock.com\u002Fblogs\u002FSupercharged_Javascript) by Patrick Hunlock.\n\nThe [JSMin library](http:\u002F\u002Fwww.crockford.com\u002Fjavascript\u002Fjsmin.html) used for JavaScript minification was originally written by Douglas Crockford and was [ported to PHP](https:\u002F\u002Fgithub.com\u002Fmrclay\u002Fjsmin-php) by Ryan Grove specifically for use in Minify.\n","mrclay\u002Fminify 是一个用于合并、压缩并提供 CSS 或 JavaScript 文件的 PHP 项目。其核心功能包括文件压缩与合并，以及通过适当的 HTTP 头支持条件 GET 请求或设置长过期时间，从而减少页面加载时所需的 HTTP 请求次数和带宽消耗。此外，版本 3 支持直接从文件系统提供静态文件以提升性能。尽管该项目已不再定期维护，且对于现代 JS 和 CSS 语法的支持有限，但在某些特定场景下，如对旧版网站进行优化时，仍可作为减少资源请求和加快页面加载速度的有效工具使用。注意，对于高流量站点，由于 PHP 的 CGI 开销，Minify 可能不如原生 HTTP 服务器快。","2026-06-11 03:18:43","top_language"]