YUI3 combo handler using Go
YUI3 Combo Handler by Go
Development in progress, not ready for production, need performance test.
Basic usage
YUI3 configuration
.... combine:true, comboBase: 'http://localhost:8123/combo?', ....
Start gocombo server
# clone YUI3 into dir $ git clone git@github.com:yui/yui3.git # start gocombo (custom port like --port=:4321) # choose your platform executable file in need(gocombo.linux or gocombo.exe) $ ./bin/gocombo.mac # That's it! Now your go-combo server is running. If you want to more customization, # you can provide ```--base```, ```--with-version``` or ```--port``` flags. # provide custom yui3 build direcotry # choose your platform executable file in need(gocombo.linux or gocombo.exe) $ ./bin/gocombo.mac --base="./some-where-else/yui3/build/" # you can also put different yui3 versions into different directories like this # ./yui3/3.10.1/build/. # ./yui3/3.11.0/build/. # choose your platform executable file in need(gocombo.linux or gocombo.exe) $ ./bin/gocombo.mac --base="./yui3/" --with-version=true
Compile for different platforms
# make sure install your go with --cross-compile-common option $ brew install go --cross-compile-common $ make
TODO
version number supportcustom portable to resovle relative base dir(gocombo ../yui3/build/ )clone YUI instructionget OptionValue performance issuecompiled executable program for Linux platformMakefile to create three platform executablesgh-pages, logo- performance test
- more tests