Open Source Resources for Web Application Developers

Shopify - Online Store Builder
Follow Us on Social Sites
Subscribe RSS Subscribe Newsletter Like us on Facebook Follow us on Twitter Follow us on Google+
  • Home
  • News
  • Plugins
  • Design
  • Others
  • Books
  • About
22 Jan

Minify – Combine & Compress CSS or Javascript Files

  • BSD License, Code
  • Leave a Comment

Minify is a PHP5 app that can combine multiple CSS or Javascript files, compress their contents (i.e. removal of unnecessary whitespace/comments), and serve the results with HTTP encoding (gzip/deflate) and headers that allow optimal client-side caching.

Yahoo’s Combo Handler and Google’s AJAX Libraries API both serve content from their heavy-duty CDNs and potentially increase the chance that your visitor will already have a file in her browser cache. Neither service serves custom content that you provide. You may wish to use these services to serve popular libraries and Minify to serve your code.

Minify is distributed under the New BSD License, which means that you’re free to use, modify, and redistribute Minify or derivative works thereof, even for commercial purposes, as long as you comply with a few simple requirements. See the License file for details.

combine multiple CSS or Javascript files

Requirements: -
Demo: http://code.google.com/p/minify/
License: New BSD License

Share
Tweet
Sponsors
subscribe to our newsletter - weekly free resouces for web developers
follow us on social sites - rss, facebook, google+, Twitter
Subscribe RSS Like us on Facebook Follow us on Twitter Follow us on Google+
Related Resources
Open Source Status Dashboard for APIs & SaaS Services

Open Source Status Dashboard for APIs & SaaS Services

Pure Browser QR-Code Generation jQuery Plugin

Pure Browser QR-Code Generation jQuery Plugin

Build Applications with The Guardian Open Platform

Build Applications with The Guardian Open Platform

Text2PNG Converts Text to PNG with Javascript

Text2PNG Converts Text to PNG with Javascript

Glow – Open Source Javascript Library by BBC

Glow – Open Source Javascript Library by BBC

Boost Website Load Time with Javascript CSS Compressor

Boost Website Load Time with Javascript CSS Compressor

Comments
  • Dreur

    And what about Yui Compressor ?

    http://developer.yahoo.com/yui/compressor/

  • Pingback: 網站製作學習誌 » [Web] 連結分享

  • Pingback: Minify, réduisez et réunissez vos fichiers CSS et Javascript | LoïcG

  • Jonny

    I have been using Minify for a while now…and it is great! I definitely recommend it. Use the groups feature to combine all your JavaScript files into one download.

  • Pingback: Minify: Combina y comprime archivos JavaScript o CSS | Clearfix

  • Pingback: Entradas en las blogosferas.100, Carrero

  • http://www.panares.org Angelo Panares

    We’ve tried CSSTidy here in the office and we love it. We have been looking for something similar for PHP and we’ll give minify a try. thank for this.

  • http://www.majic3.com Sam

    @Angelo – there is a cssTidy php class
    csstidy.sourceforge.net/usage.php

    Its nice to be able to use minify to crush n’ combine both (into sets a single script and sheet)

    @Dreur – YUI can’t be used on-the-fly

    I think the next step is to allow minify to retain License comments. EG swfobject, dojo, jquery etc so that License stipulations are adhered to and http requests reduced to minimum.

  • http://www.majic3.com Sam

    FAYI

    Minify retains /*! comments such as this */. It works like a charm.

    Also it applies prefixes to CSS URLs too – I am yet to see this in action, a great idea. And plans are underway to intergrate into apache and bypass php altogether.

  • http://blog.complimedia.com Montana Flynn

    I am so happy I found webappers! Minify will be a great addition to my development process.

  • http://code.google.com/p/web-optimizator/ sunnybear

    There is another web tool to minify, merge, and compress your CSS/JS code – Web Optimizer ( http://code.google.com/p/web-optimizator/ ). It’s also free and more powerful than Minify.

  • http://jscrambler.com riba

    I would like to suggest another tool to minify / compress javascript: http://jscrambler.com

    It is a online tool so no installation is required. When considering only javascript it achieves much better compression than minify. It has an additional set of features not related with compression ex: obfuscation and domain lock…

    That said, it still doesn’t process CSS its only processes javascript.

  • Dorith

    If you use ASP.NET, have a look at this:
    http://www.codeproject.com/KB/aspnet/CombineAndMinify.aspx

  • http://www.backslash.ch Mischa Sameli

    And just another new kid on town for merging and compressing css and javascript files: http://shrinker.ch

  • Tamik

    here is an online tool that does gzip compression of css and javascript files : http://www.zbugs.com

  • http://ww.swebdizajn.com web dizajn

    An exceptional tool. However, both the old and the new version I noticed that not very well kobinuje jquery-1.4.2 and jquery.coda-slider-2.0 I do not know why. Also, do not support the complete combination jquery.lavalamp. Has anyone had a similar experience?

Open Source Resources for You

What we need is a list of the top quality resources, so that we can spend more time on our web development. WebAppers only picks the top quality web development resources for you.

© Copyright 2012 WebAppers | About | Archives | Privacy Policy | Advertise | Contact

Sponsors
Advertise Here
Search
By Keywords
30 Days / All Time
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • Professional Business Cards Made By Designers
  • Best Free Chrome Extensions for Web Developers
  • All of the Best Free WordPress Themes You Need
  • How to Create a Web App Admin User Interface
  • Nice List of Open Source Fish Eye Menu
  • Best Web Admin Templates
  • 25 Useful Blogs for Web Design & Development
  • Simple Javascript Progress Bar with CSS
  • 10 Useful & Quality Design Resources
  • Free Web Application Icons
  • How to Create High-Performance Code
  • Easy to Use, Drag & Drop Bootstrap Interface Builder
  • The Most Well-Made, Free & Open Source Fonts
  • Tiny Responsive jQuery Slider without Fancy Effects
  • How to Create Realtime Multi-player Games in HTML5
  • Create an Amazon-like Navigation Menu with jQuery
  • A True Responsive jQuery Lightbox Plugin for Free
  • How to Make FullScreen Page Transitions with CSS
  • How to Use Web Workers for Image Manipulation
  • Pretty Neat jQuery Mobile Theme Based on Flat UI
Sponsors
Plugins
  • Advertisement15
  • Calendar47
  • Capture19
  • Charts55
  • Chat22
  • Demo Tour16
  • Gallery121
  • Maps30
  • Menu86
  • Polls9
  • Popup49
  • Tooltips42
  • Upload33
  • Video18
Desgin
  • Brushes11
  • Buttons25
  • Color Schemes24
  • Fonts47
  • Forms112
  • Icons108
  • Patterns24
  • PS Tutorials15
  • Stock Photos21
  • Tables25
Others
  • Announcement103
  • Best Collections6
  • Code54
  • eCommerce24
  • Framework214
  • Hosting13
  • Information238
  • Inspiration32
  • Legal Documents10
  • Reviews8
  • Security13
  • Social28
  • Sound16
  • Stats39
  • Tools293
  • Webmail14
Licesnes
  • BSD License67
  • CC License122
  • GPL License224
  • LGPL License40
  • License Free738
  • MIT License408
Sponsors
Advertise Here
Partners
NetDNA