Sponsored by Travelzoo
Take Advantage of Ridiculously Low Holiday Airfares view!
travelzoo.com - Flights $52 and up for Thanksgiving, Christmas & New Year. But move on it now.
26 Comments
- crawfishsoul, on 10/12/2007, -1/+201 Optimize Images
2 Image Formats
3 Optmize Your CSS
4 Use a Slash on Your Links
5 Use the Height and Width Tags
6 Reduce the HTTP Requests
Nothing new here, move along. (And the comments stink like digg-gaming) - YHCIR, on 10/12/2007, -1/+8Why do so many of these comments seem... fake?
- inactive, on 10/12/2007, -1/+7Paid digging my friend, mark as spam.
- CraigJ, on 10/12/2007, -1/+6Wow, I never thought of that, what a great idea.
1. Post stuff on my blog
2. Submit to Digg
3. Have friends and/or sock puppets Digg it up and post glowing comments
4. Profit!
Bury. - kypen, on 10/12/2007, -0/+4I do CSS and web design work for a major University, our main CSS file is 22Kb. Optimization can drop a couple Kb. But commenting our CSS and organizing it, even at the expense of calling the same rule multiple times on different elements, is far more important to us. This is because we have so many people that may need to make a change.
My point is, rules like these should be used sparingly, like most lists. Use your intellect that actually got you where you are and think before you blindly optimize and do other things that may effect the site or the people around you. - nudedave, on 10/12/2007, -0/+4-Compress your 3MB Ajax JS framework :)
- GopherChucks, on 10/12/2007, -1/+4I'm going to assume my comment got dugg down by the legions of digg-gamers, and not by people who have to actually work with CSS. Still... ouch.
- mrhahn, on 10/12/2007, -1/+4Yep, buried as spam.
- fadedtoblack, on 10/12/2007, -0/+37. Do not submit to Digg.
- jus1haz2, on 10/12/2007, -2/+4***** spam...
- tobako, on 10/12/2007, -0/+2This is silly I vote for spam too, I cant understand though how can the diggs keep on growing?
- Seifey, on 10/12/2007, -0/+27. Use Wordpress: If people can't get to your site, they can't complain about how slow it is, thus eliminating the problem.
- manitoba98xp, on 10/12/2007, -0/+1Buried as inaccurate. This site makes sweeping generalizations!
1) Be careful. Sometimes the "Save for Web" option destroys your quality. Balance it yourself, the compression slider isn't that scary.
2) "PNG works very similar to GIF but it supports more colors." That's not quite how I would characterize the difference, it supports many more features and is more efficient, not just "supporting more colors."
3) Would be fine, if the author could learn to spell "Optimize" (Hint: It's not "Optmize")
4) Unless..it's not a directory! Use a slash on the end if the resource IS a "directory page" as the author so poorly puts it, but just MAYBE my page "http://www.example.com/about" is not "http://www.example.com/about/index.html" or similar, but is another resource altogether (possibly through mod_rewrite, for instance).
5) First, they aren't tags: they're attributes. Secondly, they clutter up the code and are absolutely unnecessary in most cases. I don't buy the author's argument about "reserving space."
6) I'll agree with that one, but be careful how much you mix them; you don't want them loading CSS or JavaScript that isn't needed. Combine things that are always used together, but be careful otherwise. And keep them separate on your development copy, at the very least.
All in all, a misleading article. - merreborn, on 10/12/2007, -0/+1"The only thing optimized CSS does is make your code harder for you to read"
You don't work from the optimized code. You work from a fully indented and commented development copy. Then you run an optimizer on it and deploy the result.
Sure, it may only save you, say, 25% of your filesize, but if you're getting a million page views a day, that's *huge* -- that's like serving 250,000 page views for *free*. Have you ever run a "view source" on a google website? They squeeze every single byte out of their HTML/JS/CSS they can, and it's likely saving them millions of dollars a year.
So yeah, for something like your blog that gets 10 page views a day, don't waste your time. But if you're getting any traffic worth speaking of, by all means, run one of the free optimizers out there. - GopherChucks, on 10/12/2007, -2/+3Step 1: Get a better host.
- envec, on 10/12/2007, -0/+1biased fcomments are obviously coming from friends, not paid diggs
it is stupid to pay for diggs since you cant game the system, even if you buy 100 diggs there are hundreds of thousands of digg users watching the stories everyday. meaning that the content is either good or it wont go anywhere no matter what - LarsChr, on 10/12/2007, -1/+1" Friends as in 50 diggs made by the same person that posted it?
Friends as in the 20 comments made by the same person that posted it? "
I was the one that submitted this story. Somehow I get the feeling that you are insinuating that I dugg it 50 times and posted 20 comments? I would be very interested in seeing anything that backs up these claims, or perhaps it's all just figments of your wild but at least very amusing imagination? I'm a regular reader of Daily Blog Tips, and I submitted this to specific article to Digg because I believe that other people might find it worth the time it takes to read. Should you disagree, you're more than welcome to avoid digging it, as that's your God (Kevin Rose) given right. Heck, you can even bury it if you feel like it.
What you can't do however, is throw out wild allegations about how my account is a spam account created for the intent of gaming Digg and getting stuff to the front page. In the end you'll only end up looking like a sock puppet of the "ooh stay away from our Digg" organization that for some reason seems to believe that you have more of a right to decide what's worthwhile and what's not than all of the other legitimate Digg users. - Kosterfield, on 10/12/2007, -1/+1That business model won't work.
You can't post a business model here with at least one step involving "????" - Mootabolife, on 10/12/2007, -2/+1One word.. ASCII art. Ok.. maybe two.
- coolspray, on 10/12/2007, -3/+1I enjoyed this quality post.
=P - GopherChucks, on 10/12/2007, -5/+3In the grand scheme of things, CSS optimization is silly. The only thing optimized CSS does is make your code harder for you to read, if you're thinking of optimizing as consolidating style information into fewer rules (Like putting all your font rules into one line). Most CSS files are like what... 4 or 5kb?
Code your stuff clean, and there's no need to "optimize" it. - thilak, on 10/12/2007, -6/+2Cleaning CSS is good, you can even try compressing CSS file.
- DanAndJenn, on 10/12/2007, -9/+0Great points, clean CSS is definitely a good thing.
- nightmd, on 10/12/2007, -10/+1great tips! I have learned alot!
- Gauravonomics, on 10/12/2007, -13/+0Another really useful post from Daniel. Daily Blog Tips is fast becoming one of my favorite blogging tips sources.
- eliburford, on 10/12/2007, -23/+2Always plenty of helpful information on DailyBlogTips.


What is Digg?