Print

Print


On 14 January 2011 16:28, Joel Marchesoni <[log in to unmask]> wrote:
> Hey Everyone,
>
> I'm working on optimizing our CSS files and can't find anything about this on the web. I know that some browsers/systems have issues with really long lines in files and wanted to get some opinions about removing all line breaks from a CSS file to conserve space. I've seen some optimizers that give the option NOT to remove them, but don't explain why.

Why bother?  CSS files are tiny compared with the images you're no
doubt also loading and literally negligible compared with video.  They
get loaded once per session, then cached in the browser.  Messing with
the whitespace will have absolutely no perceptible effect on
efficiency for anyone who's not using a 300 baud modem.