Author Topic: Site speed  (Read 1195 times)

Offline Ortix

  • Member
  • Posts: 7
Site speed
« on: September 24, 2010, 07:07:27 PM »
Hey guys, i've been a long member of BakaBT and i've always been amazed at the speed at which the pages load. Now i do have my own anime website but it is nowhere near as fast as this site... I was wondering what you have done to optimize the loading times? I mean... a site that loads in under a second? That is very rare imo.

Is it the server or just website optimizations?

Offline tomoya-kun

  • Member
  • Posts: 6374
  • Reporting for duty.
Re: Site speed
« Reply #1 on: September 25, 2010, 12:31:46 AM »
Maybe the host is better


BBT Team Riko Suminoe #000002

Offline kureshii

  • Former Staff
  • Member
  • Posts: 4485
  • May typeset edited light novels if asked nicely.
Re: Site speed
« Reply #2 on: September 25, 2010, 08:27:10 AM »
To some extent page-loading speed is dependent on the host, but there are things you can do to optimise it. Yahoo Dev network has a pretty nice guide.

Offline Jarudin

  • Member
  • Posts: 6875
Re: Site speed
« Reply #3 on: September 25, 2010, 09:03:58 AM »
We've done loads of stuff:
- Good sever host
- Optimized PHP code
- PHP Caching
- Optimized SQL queries
- Optimized SQL installation
- JS/CSS minification
- CSS sprites
- Optimized images
- faux-CDN implementation

All of these are 'expert' tricks. If you're a novice, I wouldn't recommend doing any of them.

--Jarudin--
« Last Edit: September 25, 2010, 09:06:58 AM by Jarudin »
Baby, I love the way you move

Offline Ortix

  • Member
  • Posts: 7
Re: Site speed
« Reply #4 on: September 25, 2010, 09:12:12 AM »
I don't really consider myself a novice anymore. But i haven't gotten that much into optimization. Thanks for the tips guys ;) I'll see what i can do with my website! :D

Offline tomoya-kun

  • Member
  • Posts: 6374
  • Reporting for duty.
Re: Site speed
« Reply #5 on: September 26, 2010, 04:51:03 AM »
I don't really consider myself a novice anymore. But i haven't gotten that much into optimization. Thanks for the tips guys ;) I'll see what i can do with my website! :D

Also compress images, people wont notice and it will load a bit faster.


BBT Team Riko Suminoe #000002

Offline Soulreaper77

  • Member
  • Posts: 1226
Re: Site speed
« Reply #6 on: October 07, 2010, 10:31:22 PM »
I don't really consider myself a novice anymore. But i haven't gotten that much into optimization. Thanks for the tips guys ;) I'll see what i can do with my website! :D

Also compress images, people wont notice and it will load a bit faster.

I think that's a given for about every website that exists. Nobody uses PNG's for their site images.

BBT イカ 娘 Fanclub Member #000007 御坂 美琴 Fanclub Member:#077700

Offline tomoya-kun

  • Member
  • Posts: 6374
  • Reporting for duty.
Re: Site speed
« Reply #7 on: October 07, 2010, 10:46:49 PM »
I don't really consider myself a novice anymore. But i haven't gotten that much into optimization. Thanks for the tips guys ;) I'll see what i can do with my website! :D

Also compress images, people wont notice and it will load a bit faster.

I think that's a given for about every website that exists. Nobody uses PNG's for their site images.

Using a slightly smaller (25%) image and

If you really want to save space, downscale the image 25% and then rescale.  It will be smaller without too much quality loss.


BBT Team Riko Suminoe #000002

Offline _Jitsu_

  • Member
  • Posts: 41
Re: Site speed
« Reply #8 on: October 08, 2010, 11:41:07 PM »
Honestly, I'm an eye-candy maniac. Turns me on.
Wouldn't whine for the extra 500kb, assuming it's really worth it.

On the other hand, page loading time is really a complex topic. Funny thing is that the page load lag doesn't neccessarily have to be network based. Sometimes it can be hardware based, especially with flash and java extensive scripts.

There is lots to be said about this. My best shot would be that if you're using PHP - like a site framework, not a single script - then you should probably read alot about PHP caching. Really helps get the thing done properly.

Offline tomoya-kun

  • Member
  • Posts: 6374
  • Reporting for duty.
Re: Site speed
« Reply #9 on: October 09, 2010, 09:36:11 PM »
Honestly, I'm an eye-candy maniac. Turns me on.
Wouldn't whine for the extra 500kb, assuming it's really worth it.

On the other hand, page loading time is really a complex topic. Funny thing is that the page load lag doesn't neccessarily have to be network based. Sometimes it can be hardware based, especially with flash and java extensive scripts.

There is lots to be said about this. My best shot would be that if you're using PHP - like a site framework, not a single script - then you should probably read alot about PHP caching. Really helps get the thing done properly.

500kb x 200,000 visitors = 100,000 mb, 100GBs of bandwidth (if my math is correct)


BBT Team Riko Suminoe #000002

Offline _Jitsu_

  • Member
  • Posts: 41
Re: Site speed
« Reply #10 on: October 10, 2010, 05:40:29 PM »
Quote
500kb x 200,000 visitors = 100,000 mb, 100GBs of bandwidth (if my math is correct)

Not talking about server bandwidth. That's a totally different story, and yes, your comment is quite accurate. Point taken.
Not many hosters can afford such loss, for the sake of minor tweaks.

//edit

On second though still correct, but it would have to be unique visitors, because of browser caching (not used by all, but still).

Offline tomoya-kun

  • Member
  • Posts: 6374
  • Reporting for duty.
Re: Site speed
« Reply #11 on: October 11, 2010, 10:29:20 PM »
Quote
500kb x 200,000 visitors = 100,000 mb, 100GBs of bandwidth (if my math is correct)

Not talking about server bandwidth. That's a totally different story, and yes, your comment is quite accurate. Point taken.
Not many hosters can afford such loss, for the sake of minor tweaks.

//edit

On second though still correct, but it would have to be unique visitors, because of browser caching (not used by all, but still).

Yes, unique visitors of course.  But as a public tracker, I'm sure this site gets a lot of hits. 


BBT Team Riko Suminoe #000002