94 Comments
- inactive, on 10/23/2007, -0/+318. Dont submit the article to digg.
- Twoodge, on 10/28/2007, -0/+28WebSite?
- pumpedvideo, on 10/31/2007, -14/+351 DO NOT USE WORDPRESS
2 DO NOT USE WORDPRESS
3 DO NOT USE WORDPRESS
4 DO NOT USE WORDPRESS
5 DO NOT USE WORDPRESS
6 DO NOT USE WORDPRESS
7 DO NOT USE WORDPRESS
here ya go - DJB31st, on 10/27/2007, -1/+22is this serious... host your images elsewhere!! lol
Maybe buy some decent hosting should be number 1?
Might as well add
8. hotlink as many images as possible... if they get removed, or the owner blocks your site.. the pages will load EVEN FASTER!! - chrisrowe, on 10/28/2007, -0/+18You could tweak the CSS even more...
margin-top: 20px;
margin-right: 10px;
margin-bottom: 20px;
margin-left: 10px;
can be written as
margin:20px 10px;
CSS uses the first value for top and bottom and the second for left and right. - LucasVB, on 10/23/2007, -0/+16More on optimizing images: use PureJPEG and PNGOUT to strip down junk metadata from your files. It's free bandwidth, it can't get better than this, folks!
PureJPEG: http://www.yafla.com/papers/purejpeg/filter_unnece ...
PNGOUT: http://advsys.net/ken/utils.htm - Daniel15, on 10/31/2007, -2/+15Why do people keep blaming WordPress? Blame the oversold shared hosting services instead.
- dbr_onix, on 10/27/2007, -0/+11Isn't it... sliightly suspicious that currently all the comments on this along the lines of
"Great article, I want it to have my babies!" - The odd one or two of such posts like that - fine, but not every single one.
Either the entire Digg-world is unnaturally cheery today, or someone it getting people to digg and comment on this story so it gets to the front page... - eatmorgnome, on 10/23/2007, -1/+11It says WebSite because the clueless author just copy/pasted the content from other places, such as, http://www.dailyblogtips.com/speed-up-your-site-us ...
- flawlessjess, on 10/23/2007, -0/+10Getting a decent server helps as well
- jcaino, on 10/23/2007, -0/+9also, call images and scripts using their local path. this keeps apache from opening connections to itself.
- albiniak, on 10/23/2007, -0/+8...or use YSlow with Firebug.
http://developer.yahoo.com/yslow/ - buddyw, on 10/23/2007, -0/+7You have to admit, that "Error establishing a database connection" page did load pretty fast...
- singu, on 10/23/2007, -0/+6Here is the article in case the site doesn't come back:
The time taken by your site to load greatly affects the experience for your visitors. Research has been done which has given a fact that users dont user will ignore a site completely if it doesn’t load in 4 seconds. Therefore having a fast site is very important
Here are the top 7 ways speed up load time of your WebSite.
1. Host Images And Files Somewhere Else
Many users online at the same time can cause your server to handle a lot of requests. Its best that if you are using images in your site, make sure you upload them to image host sites like ImagesHack. This will greatly reduce the bandwidth used by your server and also make your blog faster as image upload sites have a better speed.
Best place to host files of sizes 2-5mb (Any thing you need to provide users for download) is to use Google Pages as your host.
2. Optimize Your CSS
Nowadays many sites have started to use CSS based formatting. Even if Style Sheets are naturally more efficient than HTML tables you can still optimize the CSS code to make your website cleaner and faster. Having a clean CSS can reduce the time taken by the clients browser to decode your site.
Manual Clean
* Try to locate dispersed code and aggregate it together.
For example instead of
margin-top: 20px;
margin-right: 10px;
margin-bottom: 20px;
margin-left: 10px;
Write
margin: 20px 10px 20px 10px;
You can use the tool Clean CSS to optimize your CSS and remove useless property declaration and whitespaces.
3. Optimize Your Images
Use image formats such as PNG, JPG,/JPEG And GIF. Always use the “Save for web” image quality which is available in most softwares such as Adobe Photoshop.
4. Use Height/Width Tag In Images
Most people dont add hieght and width tag to images. These tags make sure that the browser knows the dimensions of images before it has completed downloading the image. If the browser does not see those tags it will need to figure the size of the image, then load the image and then load the rest of the page.
When the height and width tags are included the browser will automatically know the size of the image. As a consequence it will be able to hold a place for the image and load the rest of the page simultaneously. Apart from the improvement on the load time of the page this method is also more user friendly since the visitor can start reading the text or other information while the image is being downloaded.
5. Use Less Javascript!
Some people tend to add a lot of javascript effects to their site. Using excessive javascript animations may cause clients browser to freeze for some time annoying the user.
6. Optimize Links
Make sure that the outlinks from your blog and link between posts are optimized well. For example if link is www.domain.com/blog make sure you write it as www.domain.com/blog/ to prevent one extra request which would be made to the server if the former link is used.
The improvement on the loading time of links ending with a slash will not be astronomical, but when it comes to speeding up a website every small bit helps!
7. Reduce HTTP Requests To Server
When opening a web page every object (images, scripts and the line) will require a round trip to the server. This latency can add several seconds to the load time of your site. Make sure to reduce the number of objects and to combine CSS files and scripts together. - pineapplehead, on 10/23/2007, -0/+5"Research has been done which has given a fact that users dont user will ignore a site completely if..."
Yes, because that makes PERFECT sense.
/buried - BOFH139, on 10/23/2007, -0/+5From the coding on this "page" he is not using any of these tips...
- RabbiBizarro, on 10/23/2007, -2/+7sites loading too slowly.
lame - t0ms, on 10/22/2007, -1/+6this is *****
- NJank, on 10/23/2007, -0/+5seriously, I still haven't seen:
LINK TO LESS ADS on your page. Or at least limit it to one ad server. Watching the connection status bar, I spend most dead time 'waiting for 'adserver.yoursite.com' followed by 'yoursite.hitbox.com' followed by 'yourserver.2o7.net'. ad infinitum. Since I feel content owners should be able to profit from their content, I hadn't been using adblock software until very recently. Now, any time it takes too long for xyz.adserver.com to respond, that's enough time for me to click the adblock icon and set a wildcard block on that server. I tolerate the ads when their unobtrusive, and significantly delaying load time IS obtrusive, even if the ad/script isn't dancing across the screen. - inactive, on 10/22/2007, -0/+4remember to send your content gzipped to the client!
- anotherwayuk, on 10/27/2007, -2/+6Not a very inspiring post... simple techniques that won't save seconds, maybe milliseconds at best (unless your pages is a nested tablefest :-P )...
Something that *will* actually save load times *and bandwidth* is mod_deflate: http://httpd.apache.org/docs/2.0/mod/mod_deflate.h ... - rebz, on 10/23/2007, -2/+6posted on a wordpress blog, lol!
- DustPuppySnr, on 10/23/2007, -3/+7Dugg for ImagesHack. :)
- singu, on 10/23/2007, -2/+6And another Wordpress bites the dust...
- MrSketch, on 10/22/2007, -0/+48. wpcache
- wisie, on 10/23/2007, -0/+4Won't imageshack crap itself after a while though?
- fLUx1337, on 10/23/2007, -0/+3These kinda storys are stupid on Digg......if your a programmer/designer, you *should* know how to do this already. If your not, why would you need to know?
- SatansTaco, on 10/23/2007, -2/+5PROTIP: #1 TO SPEED UP YOUR WEBSITE: GET FASTER HOSTING. #2: DON'T PUT A BUNCH OF USELESS, BANDWIDTH-CONSUMING ***** ON YOUR SITE. THAT IS ***** ALL.
- duckyinc, on 10/23/2007, -0/+3That admin needs to read "10 ways you can stop your website from crashing", a 100+ digg article is like a DDOS attack
- jonlee, on 10/22/2007, -0/+3Agreed, server-side compression can significantly reduce load times for clients, moreso than most of these tips. I wrote a tutorial here:
http://www.jonlee.ca/speed-up-your-site-auto-file- ...
I'm not so sure about hosting images external to the site since it would require the user open another connection to another server instead of using the existing connection to your server. It also raises the issue of having the external site go down which will cause your page load to freeze until that connection times out. - Daniel15, on 10/22/2007, -0/+3Speaking of which...
My keyboard has a "BackSpace" key... Oh how it annoys me :P - mjaleo, on 10/23/2007, -1/+3Reeks of pay-for-digg...
- karipatila, on 10/23/2007, -0/+2I'll second that. Use less javascript... He'd have to be a goddamn moron to qualify these as top notch tips.
- fac3less, on 10/23/2007, -0/+2Optimize, cache, optimize, cache, repeat.
- ThePug, on 10/22/2007, -0/+2It's "ImageShack"
- fac3less, on 10/23/2007, -0/+2I think #1 should have stopped us all in our tracks -- it was a worthless submission from the start.
The fact is most sites like imageshack are absolute crap for hosting images -- and fast? Ha, unlikely. They cut you off at a very minimal amount of bandwidth.
It's better just to get competent hosting -- http://www.hostjury.com offers a fairly decent, unbiased perspective on web hosting providers. - inactive, on 10/29/2007, -0/+2wtf is this? 1997?
- hehelol123, on 10/23/2007, -0/+2he does have point for people who can't get decent hosting! Host it somewhere else!
- fak3r, on 10/23/2007, -0/+2Nice catch, I think most Digg articles follow this pattern just to get visitors.
- jcaino, on 10/23/2007, -0/+2not all hosts oversell their services. i've witnessed wordpress take down shared and dedicated servers. even with tweaking, it is a pretty intense app - and most users do not run anything but the default install, with a different theme and a few modules.
- gummih, on 10/29/2007, -0/+2Nr. 1 Remove all content
- Goobernutz, on 10/23/2007, -0/+2Take whatever it is that Digg does....and do the polar opposite.
- inkubux, on 10/23/2007, -0/+2It's called caching
- bdurkin, on 10/23/2007, -0/+2Image hosting may not be the answer but image caching tools and companies like Akamai most certainly do speed things up so ....suck it Trebeck :p
- ButchersBoy, on 10/23/2007, -0/+2Your punctuation is pretty *****.
- mathewbrowne, on 10/23/2007, -0/+2Not just a pile of *****, but a largely copy-&-pasted pile of ***** too. ImagesHack? What the ***** are you thinking? Is this your first day on the Internet or something? Buried.
- moiety, on 10/23/2007, -0/+2About half of these are completely pointless, and a few will actually INCREASE the load time by increasing the size of the output. Grab YSlow for Firebug for real, worthwhile suggestions on improving your performance. I find it cute that the only comments the author is authorizing are the one's that agree with him. He'd rather feel secure in his false sense of intelligence than actually learn some useful information from his peers.
- enhancement, on 10/23/2007, -0/+2lame site. Lots of problems and yeah, i saw the database error also. Their rotating banners could be shrunk by at least 65% by going jpg Left out even better ways to "speed up the website" like: 1. just go text 2. host on the fastest server available. 3. who needs colors, just use monochrome gifs
- thailand1972, on 10/23/2007, -0/+1Most websites are dynamic these days and it didn't address DB / server-side scripting issues which greatly impact the speed of pageloads. Cacheing reduces overheads greatly. Bad coding will easily crash a dedicated server, let alone a shared one (witness this particular website).
Also, not trying to place 100 metres of text on your front page helps (some blogs are ridiculous - they post virtually a year of posting on their home page without pagination).
Also, trimming CSS files? Come on.... - thailand1972, on 10/23/2007, -0/+1Just proves how destructive WP can be without cacheing.
-
Show 51 - 89 of 89 discussions



What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official