Chief Alchemist - Business Consulting For The 21st Century Via A Holistic & Intelligent Approach
Share ChiefAlchemist.com. RSS 2.0 feed for ChiefAlchemist.com. Sign up for the mailing list. Follow Chief Alchemist on Twitter. 'Like' the Chief Alchemist's page on Facebook. See what Chief Alchemist has been Q&A'ing on Quora. Chief Alchemist bookmarks & highlights on Diigo.com. Follow the Chief Alchemist on Digg.com. Chief Alchemist channel on Last.fm. Chief Alchemist on Flickr. Mark 'Chief Alchemist' Simchock on LinkedIn. Free Initial Consultation. Email Chief Alchemist. Phone Chief Alchemist.
  • Mark ‘Chief Alchemist’ Simchock
  • 'Email me.Email => ca .at. ChiefAlchemist .dot. com
  • 'Phone me.Alchemy United => 732 997-0028
  •  
  • Free initial consultation.Free => Initial Consultation
  • Please be sure to subscribe to your communication channels of choice.
  • Click To Close => The small green (consultation), red (email) or blue (phone) icons in the top upper right.
CURRENT “TOP 10” TOPICS TOOLS CLIENTS & PROJECTS SOURCES SEARCH HIDE
Business Consulting For The 21st Century Via A Holistic & Intelligent Approach

There’s got to be a better way to optimized CSS

Consumed => “Website Speed Part 1: Write More Efficient CSS” by Andy Killen on Speakyboy.

http://speckyboy.com/2011/03/08/website-speed-part-1-write-more-efficient-css/

Value add (i.e., left a comment)…

Great stuff. Thanks Andy, you just ruined my weekend.

What I don’t quite understand is that CSS is obviously based on a pretty strict set of rules. Not only do browser rely on interpreting such rules, but also there is a way to define what’s best, and (per this thorough article) what  is not.

So why isn’t there a tool that can analyze CSS and say “What you should do is…” or actually make changes and spit out an optimized version of a file that’s input? For example, the bit above about the various background properties, shouldn’t fixing that be automated by some tool?

I agree 100% we should all be more careful. God knows I’ve got tons more to learn, and in the rush to launch need to slow down a bit and review my work. That being said, it’s 2011 and there are gazillions of lines of CSS being written. Shouldn’t there be a better set of tools? Can’t someone “reverse engineer” what the browser does and instead of rendering a page, render an analysis of how a given stylesheet can be optimized? If “by hand” and “by memory” is the best tool we got, then someone out there—Adobe? Google? Open Source?—is missing a massive opportunity to make a CSS coder’s world a better place.

Yes, I know there are tools for creating pages.  What I’m looking is either a better version of that, or better still, Andy In a Box. If a computer can play Jeopardy, why can’t it help me write better webpages? This doesn’t strike me as being rocket science. We know the rules, right?

Thanks again.

 

Required.
Will not be published. Required.
Please include http://