4 ms·
I like to use separate files for organization during development and then merge and minify for deployment. Just make sure you have an automated process because
by mindviews 17y ago
I like to use separate files for organization during development and then merge and minify for deployment. Just make sure you have an automated process because you don't want to make mistakes doing it by hand.
- alexitosrv 17y agoAny tool suggestions for the job of minifying and deployment?
- physcab 17y agoGzip?
- fretlessjazz 17y agoApache should do this.
- tyrmored 17y agoMake sure it actually does, too ... http://www.whatsmyip.org/http_compression/ http://www.whatsmyip.org/http_compression/ Better yet, use Google Page Speed.
- gz 17y agohttp://developer.yahoo.com/yui/compressor/ http://developer.yahoo.com/yui/compressor/
- mlLK 17y ago+1 for YUI +2 Grok Douglas Crockford's DOM theory then optimize how your scripts use the DOM, it is very easy to abuse the DOM, don't. Grok the DOM.
- tyrmored 17y agoJSMin is also good.
- mark_h 17y agoAlready mentioned, but django-compress if you're using django: http://code.google.com/p/django-compress/ http://code.google.com/p/django-compress/
- jcoby 17y agoSprockets looks promising if you're using Ruby. Haven't had a chance to use it in a project yet. http://github.com/sstephenson/sprockets http://github.com/sstephenson/sprockets