Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Bandwidth aspect for a grown sNews  (Read 1802 times)

ajayvibha

  • Newbie
  • *
  • Karma: -1
  • Posts: 28
    • http://www.obiztek.com
Bandwidth aspect for a grown sNews
« on: June 03, 2007, 07:13:23 pm »

Hi,

In "Snews15" size of snews.php is 99KB and basically it is the main file  Snews which is called by every page .

Assuming that over the period of time if the number of pages goes to 2000 pages or more than it may cause a bandwidth problem.
 
Spliting sNews over few pages may help in this aspect.Any comments please...
Logged
Regards,
AjayVibha
Online Business Technologies (OBizTek)
SEO | Hosting | Design

Joost

  • Guest
Bandwidth aspect for a grown sNews
« Reply #1 on: June 03, 2007, 07:30:08 pm »

You assume that for every page request sNews is send along with it. That is not the case. snews.php assembles the requested page and sends it to visitor.
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6020
  • Semantically Challenged
    • snews.ca
Bandwidth aspect for a grown sNews
« Reply #2 on: June 04, 2007, 12:47:43 am »

All of the data - the titles and the content for all articles and pages - is stored in the MySQL database. As the number of pages increases in your site, the snews files themselves do not grow in size, because the data that gets displayed in all pages is called from the database and inserted into index.php to display. So, the webiste itself stays the same size on the server and the database - most often on another server that just holds databases - grows in size. So far we're just talking about hard drive space, not bandwidth.
[Edited]
Bandwidth increeases as the amount of data delivered from the site (server) increases. None of the pages in sNews actually exist, physically-speaking, until a visitor to the site clicks a link to something... at which time functions in the snews.php file query the database... find the data needed to assemble the page... mix it together with some hard-coded scripts, then display the results as a complete page through the index.php (template) file. Each time a new link is clicked, a new page gets generated and displayed, and the previous one no longer exists until it is requested again. In this sense, alll sNews pages are "Virtual Pages".
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

ens

  • Sr. Member
  • ****
  • Karma: 12
  • Posts: 279
    • http://www.meatysite.info
Bandwidth aspect for a grown sNews
« Reply #3 on: June 04, 2007, 01:32:28 am »

ajayvibha, sNews is probably the best cms out there concerning bandwith! It may be misleading, but read what keyrocks and Joost have said and that pretty well explains it all.
Logged