Instead- you keep am uncompressed version, but before you push it to a live site you compress it. I guess it’s just preference- it’s a trade off between a minuscule amount of manual labor vs a minuscule amount of machine labor.
]]>When the file is minified ( look online for CSS minifiers ) unnecessary characters are remove. This includes newlines and comments and any extra tabs or spaces. This way you have a small file on the server and a clear and easy to use one on your computer.
Also, It is probably better to use the web servers own tools for compression rather than using a php script. Not all web browsers can handle compressed files and the web server will only server up compressed files if asked to by the browser. If you don’t want to use this method ( or can’t ) then you may as well put the compressed file on the server rather than force the server to compress it every time it serves it using a php script.
]]>- Dwayne.
]]>