Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Iron Speed
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 30th, 2003, 09:47 AM
P3x P3x is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 9 P3x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question decrease traffic load?

Hello!

I would like to know if anyone has some tips regarding traffic load.
My website consists of a graphical header with buttons and a large news section through which visitors can browse. When they click a newsheader the page reloads (with www.page.com?newsid=34) - since an average visitor clicks 40 newsitems the page reloads 40 times placing a heavy load on my webserver. Is there any way to do something about this? I don't want to use frames :| So that is not really an option...

any tips are more than welcome!

regards,

P3x

Reply With Quote
  #2  
Old July 30th, 2003, 03:13 PM
dfano dfano is offline
Always Learning (I Think)
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: NYC Baby!!!!
Posts: 123 dfano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to dfano Send a message via Yahoo to dfano
i dont know much about programing but i would imagine that if you used templates that might help your problem.

or, i know you said no frames but what about IFRAME.
__________________
Dave
www.fs3d.com

Reply With Quote
  #3  
Old July 30th, 2003, 03:43 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Neither templates nor frames is going to solve your problem. If a person clicks a link, causing a page to load, a request will be issued to the Web server, causing server load. There's no way around this simple fact. After the first load, even the images are cached and won't be reloaded on subsequent page loads, so frames wouldn't even help cut out that overhead.

Short of loading all articles in a DIV or IFRAME and displaying the one somebody clicks on (clearly problematic from the user's load time standpoint and by no means scalable) without reloading the page, you've got no real out.

You might consider reworking your user interface so that it helps users find the content they want with fewer clicks. Do you have a site search engine that'll let them narrow down their interests? Do you have your articles browsable by category and subcategory?

Reply With Quote
  #4  
Old July 30th, 2003, 04:18 PM
dfano dfano is offline
Always Learning (I Think)
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: NYC Baby!!!!
Posts: 123 dfano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to dfano Send a message via Yahoo to dfano
hence the disclaimer, sorry for the bum info.

thanks dhouston

Reply With Quote
  #5  
Old July 30th, 2003, 06:30 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
P3x, do you really mean server load (which usually refers to CPU cycles and RAM usage), or are you referring to BANDWIDTH USAGE. Which is something completely different.

There's a few things you can do:
Ensure all images are as compressed as possible.
Ensure you HTML code is a lean as possible. No unecessary tables, tags, etc.

As dfano mentioned, once a user has viewed your site once, all images willl be cached on the USERS machine, thereby reducing the bandwidth used.

Reply With Quote
  #6  
Old July 30th, 2003, 08:39 PM
dfano dfano is offline
Always Learning (I Think)
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: NYC Baby!!!!
Posts: 123 dfano User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to dfano Send a message via Yahoo to dfano
i wish i had known that, i need to pass that credit to dhouston. the other D.

thanks anyway,

Reply With Quote
  #7  
Old July 30th, 2003, 08:56 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
If your content is not dynamic, then most items will be cached on the users machine. This includes the actual HTML file, images, flash files, CSS files, JS files, etc. Essentially all the pieces that go into making a website. This happens because of the way the WWW works. You don't actually view a site off the server that's hosting it - your browser DOWNLOADS the pages/assets (images etc) you request.

Sometimes, this process may not be what you want to happen. e.g. when you post news articles to a page, hourly or daily. In this case, you need to set a meta tag in your source that tells your browser (no cache, expires) to go and get a new copy from the server each time the file is requested by you.

Reply With Quote
  #8  
Old August 1st, 2003, 05:32 AM
P3x P3x is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 9 P3x User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks a lot for all that info, and I meant the bandwith, not the server load Sorry for that! Also, Im considering to add a site search engine to my site so people can easily find what they are looking for! Thanks for that suggestion!

Regards,

P3x

Reply With Quote
  #9  
Old August 1st, 2003, 08:09 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Have you had a close look at your navigation system? Unless you have oodles of data like the MS site, your navigation system should be a sufficient method of finding info.

A search engine is only good for things like finding articles.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > decrease traffic load?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway