wuxiaorui86 / combo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jayli/combo
一段做combo的php脚本
This project forked from jayli/combo
一段做combo的php脚本
Combo Script - 自动合并/压缩脚本 * Created by 李晶-拔赤([email protected]) * License: http://www.opensource.org/licenses/mit-license.php 脚本使用: - 要求php5及以上版本 - 程序在找不到本地文件的情况下,会去指定的cdn上找同名文件 - 程序会自动转义-min文件为源文件,因此要约定-min文件和原文件要成对出现 - 需要定义combo.php和minify.php中的$YOUR_CDN变量 - 如果只是合并压缩local文件,则不必重置$YOUR_CDN变量 - 这里提供cb.php,用来实现tbcdn的开发环境的模拟,apache的配置在cb.php中 合并文件 - http://yourdomain.com/combo.php?app/js/1.js&app/js/2.js 合并压缩 - http://yourdomain.com/minify.php?app/js/1.js&app/js/2.js 模拟淘宝CDN - http://a.tbcdn.cn/??1.js,2.js - http://a.tbcdn.cn/subdir/??1/js,2.js 文件列表: - combo.php 合并文件,不压缩 - minify.php 合并压缩文件 - cssmin.php 压缩css - jsmin.php 压缩js - cb.php 淘宝CDN合并文件策略的模拟 php文件编码统一使用utf-8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.