Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
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:
  #1  
Old July 30th, 2003, 10: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, 04: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: 7
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, 04: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: 8
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, 05: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: 7
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, 07: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 9 m 52 sec
Reputation Power: 10
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, 09: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: 7
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, 09: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 9 m 52 sec
Reputation Power: 10
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, 06: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, 09: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 9 m 52 sec
Reputation Power: 10
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!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek