As far as I know, minified files are not compressed, they just don't have spaces, tabs or end line characters. So, there is no lost of performance, but the files become wrost to read.
I would recommend to use your web server compression methods, like Apache httpd mod_deflate, or LightTPD mod_compress. They can minifie files, or gzip then, what work on some browsers (as Mozilla variants). And sure, if you gzip the files, they will get a bit loss of performance in client-side due to decompression, but you may have good gain in speed and bandwidth save. For Js, i usually let my scripts uncompressed, for better maintainence (and they are always small enough), and get third party libs p.a.c.k.e.d., what reduces a lot theyr size. On Wed, Oct 15, 2008 at 11:13 PM, André Ferreira <[EMAIL PROTECTED]> wrote: > Compressing CSS files? You mean using shorthand sintax? > > On Wed, Oct 15, 2008 at 9:03 AM, Alex Weber <[EMAIL PROTECTED]> wrote: >> >> i've been recommended to use Yahoo's YUI minifier to not only compress >> js files but also css files. >> >> i've also read that compressed files = faster download but takes time >> to "decompress" for usage >> >> so where's the line? >> >> for example is it worth compressing a 5KB css file into a 3KB file? >> probably not right? >> where would you start? >> >> also, are there any drawbacks to compressing css? >> thanks! >> >> > > > > -- > André Ferreira > [EMAIL PROTECTED] > > > > -- Paulo Diovani [EMAIL PROTECTED] +55 51 8146 5413 ___________________ http://www.diovani.com --~--~---------~--~----~------------~-------~--~----~ -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---
