CSS - Css Compression
One thing ive never really looked into is compression of CSS files when in a live state. I am currently trying to weigh up the pros and cons of compression and i really in two minds as to wether it is worth it. Yes you end up with a smaller file size but does having CSS on one line effect the rendering speed of the page? Furthermore, having to compress a CSS file each time you make a change seems a bit tedious although i suppose this could be automated.
Just after ideas really, i may experiment with a custom built compressor and see where i get. Similar TutorialsIn what order are CSS/html files loaded? Concurrently? What about browser rendering? Must all CSS be loaded before any html is rendered? Also aside from serverside compression / css whitespace (file) compression, removing redundant classes, and using relative paths, is there any other ways to speed loading of CSS? Would it be of benefit splitting my css file into smaller chunk files - would they all load concurrently and therefore faster? Does anyone have a good solution for forcing the cache of css files, but not the html calling the css? Thanks in advance! Ross |