Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Speeding up image heavy sites Details »»
Speeding up image heavy sites
Version: , by aceofspades aceofspades is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-26-2007 Last Update: Never Installs: 0
 
No support by the author.

Hi all,

I am getting a new skin made up for my forum that is heavy on images. This always seemed to cause a problem on my last forum since it loaded a lot slower. However i was under the impression that once the images are loaded then they are cached and would load quicker the second time round, unless they did a hard refresh or cleared out their temp internet files. Am i wrong?

So, to try and speed up the loading of an image intensive forum i wondered if you had any tips. For example, if i host my images on one URL and leave the content (text, scripts) for the url on which it is being viewed, would that speed things up? The way i see it is, one server would be loading the images whereas the other would be loading the rest, instead of one doing both.

Any help / advice would be appreciated,

James

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-26-2007, 10:41 AM
TheProphet TheProphet is offline
 
Join Date: Apr 2004
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe you can load the images from another domain/host.

Explain:

The advantage for using a separate domain for images is because there a no cookies send with the images.
So that saves a little bandwith, and the images are quicker to its destination.
Browsers use standard 2 connections per domain.

So it would deffo speed up m8
Reply With Quote
  #3  
Old 10-26-2007, 01:34 PM
ChrisLM2001 ChrisLM2001 is offline
 
Join Date: May 2003
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aceofspades View Post
So, to try and speed up the loading of an image intensive forum i wondered if you had any tips.
Depends on two things...

1. How much money you have.

or...

2. How dedicated you are of serving the most to save money.

Conventional treatment is to have another server to serve the images (usually on a very cheap server -- heck, a P3 box would do for it -- with cheap Cogent bandwidth). That reduces the server load on your forum proper server.

But, you'll have to cough up the extra $$/$$$ a month for it.

The unconventional treatment is to rip Apache out and replace it with Lighttpd, or better, Ngnix. The alternative browsers can serve many more connections with 1/4 to 1/3 less memory requirements than Apache (which is a literal pig). They're becoming more popular for those running VPS accounts, since memory is in short supply. On a dedicated, you can reclaim extra memory for serving more images/or using it to power your database with the surplus.

BUT, alternative web browsers takes a lot of tweaking at first to work right. If you're not familiar how to do it, you'll need to hire someone who specializes in the configuring them. Ngnix powers some of the largest traffic sites in Russia, so it can handle whatever you can dish out on it for a forum. It's just not as known.

So, it basically comes down to those two options. Personally, I'd take the second option, if for anything to get more connections, save memory and not going the mega-cluster route.

Oh, the nice feature of Ngnix -- very search engine friendly URLs (and no file extensions).
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03574 seconds
  • Memory Usage 2,206KB
  • Queries Executed 16 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete