Minify your Javascript and CSS
I've just came across scriptalizer.com which is well worth sharing with all.
This site takes your multiple CSS files or Javascript files and compresses them into just one file.
So your CSS goes from:
1<link rel="stylesheet" href="/style/longstylesheet.css" type="text/css" />
2<link rel="stylesheet" href="/style/anotherlongstylesheet.css" type="text/css" />
2<link rel="stylesheet" href="/style/anotherlongstylesheet.css" type="text/css" />
to:
1<link rel="stylesheet" href="/style/scriptalizer.css" type="text/css" />
Or your Javascript from:
1<script type="text/javascript" src="/js/jquery/jquery.js"></script>
2<script type="text/javascript" src="/js/jquery/jquery.form.js"></script>
3<script type="text/javascript" src="/js/myOwnScriptFile.js"></script>
2<script type="text/javascript" src="/js/jquery/jquery.form.js"></script>
3<script type="text/javascript" src="/js/myOwnScriptFile.js"></script>
to this:
1<script type="text/javascript" src="/js/scriptalizer.js" ></script>
| Tweet |
| If you like what you see on the website and/or this post has helped you out in some way please consider donating to help keep me in beer vodka. The donations are made through Paypal, which accepts almost any credit card or eCheck. |
Aaron Lynch
I've been using this library for a little while and really like it. I've made a few enhancements to the library to fix a few bugs and add a few nice enhancements. If you're interested, my updated library is available at http://github.com/RichardDavies/combine.cfc/tree/m.... (I've submitted my code to the original developer, but those changes haven't all been integrated back into the main library yet.)
I'm looking to make some improvements this week. In addition to Richard's suggestions, I also aim to de-couple the JS and CSS compressors (JSmin and YUI css). I want to make it very easy to switch between different compression tools such as JSMin and the YUiCompressors, or to even write your own compression CFC.
Java script
http://ajaxdashboard.com/