Optimizing for speed, phase 1
By Fredrik Andersson. Sunday, 25. November 2007, 17:00:51
I've spend the last few days optimizing My Opera for faster loading, using the 14 rules from Steve Souders (Yahoo!) excellent book High Performance Web Sites.
I saw Nate Koechley from Yahoo! present these rules at a Web conference in London a long time ago and I've wanted to implement them since then, but I had not got around to it until earlier this week when Sverre got the book and put it on my desk. ![]()
There's much that can be done to speed up My Opera. We have done a few things already, such as moving all scripts to the bottom of the page, and we aim to do a lot more in the future.
For this My Opera update I've decided to focus on getting fewer HTTP requests and smaller files sizes for the My Opera ui.
If we take a closer look at the images that are used for the My Opera ui today we can see that it's 27 images (depending on what page you look at) with a total file size of 71,3 KB. That's the backgrounds for the main layout, the logo, menu, icons for the top bar, tabs for sub menus, etc (I'm only including the images that are used for the ui, not the ones in the page content).
The challenge with optimizing this is that the ui for the upcoming My Opera release will contain even more icons than before, because of the drop down menus, and we still needed to make it smaller.
So, how do you think it went?
Quite well actually. The result for the new site is 8 images and 21,8 KB! ![]()
There is of course a lot more that can be done, and we will continue working on this.
Stay tuned for more posts on this topic.








1 2 Next »
Kite Geek # 25. November 2007, 17:08
Nghecon18 # 25. November 2007, 17:08
Mickeyjoe_irl # 25. November 2007, 17:49
Dasch # 25. November 2007, 17:55
But aren't there more important things to do? Maybe the file upload section. This to use is like using things in the 90th. Same with pictures uploading and the messages section.
Don't beat me please.
Kite Geek # 25. November 2007, 18:00
Dasch # 25. November 2007, 18:11
remcolanting # 25. November 2007, 18:15
nicomen # 25. November 2007, 18:35
wallpearl # 25. November 2007, 18:44
remcolanting # 25. November 2007, 18:45
lamarca # 25. November 2007, 19:40
coxy # 25. November 2007, 21:25
AyushJ # 25. November 2007, 21:39
Mickeyjoe_irl # 25. November 2007, 21:43
G-off # 25. November 2007, 23:07
Tamil # 25. November 2007, 23:41
IceArdor # 26. November 2007, 03:32
vetler # 26. November 2007, 09:33
BAMAToNE # 26. November 2007, 14:57
graste # 26. November 2007, 19:00
fred # 26. November 2007, 19:22
Khadgar # 28. November 2007, 04:08
07rey # 28. November 2007, 20:43
dstorey # 30. November 2007, 06:14
If it works the file size should be way smaller (in latest Opera only
philry4n # 12. December 2007, 01:54
lutherjw # 12. December 2007, 04:39
DeathKnight1092 # 12. December 2007, 05:29
mcd # 12. December 2007, 06:00
eztigma # 12. December 2007, 07:15
Barebry # 12. December 2007, 07:16
shigen # 12. December 2007, 11:12
xD
aos101 # 12. December 2007, 11:35
zoligrg89 # 12. December 2007, 12:10
garyg # 12. December 2007, 12:30
toadbee # 12. December 2007, 13:22
sevillana # 12. December 2007, 13:29
wakakei # 12. December 2007, 14:33
Pattty # 12. December 2007, 14:40
TriMN # 12. December 2007, 15:39
AleksOD # 12. December 2007, 16:27
BELADA # 12. December 2007, 16:28
Neko42 # 12. December 2007, 16:38
Nikio # 12. December 2007, 19:27
Salve! # 12. December 2007, 20:03
And thanks for your work!
vivalamuerte # 12. December 2007, 21:27
NOBUYUKI # 12. December 2007, 22:14
But in my opinion opera is fast enough xD
Merry Christmas
violetisha # 12. December 2007, 22:44
link226 # 13. December 2007, 03:58
merry christmas!
wallpearl # 16. December 2007, 12:42
dr_flay # 10. January 2008, 03:34
I assume you are using all PNGs & no GIFs ?
The PNGout plugin for Irfanview, is rather good (& very uptodate) at optimizing PNGs for tiny file size. worth trying a comparison with you current GFX prog.