SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    client-side vs server-side for common content (low bandwidth)

    I'm using JS to create the common content of my page.

    The main contents, which is different for all pages, is still readable when js is off.

    I'm doing this as I believe it's less work for my server. I am limited to 20Mb of online memory, and I have a small bandwidth.

    Have I got the right idea? Does server-side have a greater bandwidth usage?

    Thanks.
    Last edited by Markdidj; Jan 7, 2004 at 18:31.
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if

  2. #2
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If your visitor count is not high & what you are including at server-side is not resource hogger, just plain HTML, then its Ok to do it as server-side includes.

    JS includes also work fine. No problem there. And that thing that most people have js turned off, it applies to a certain kind of websites only. And since websites relying heavily on JS for different tasks such as form submission etc, people don't shut JS off anymore.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  3. #3
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks asp_funda, I was thinking of changing my server, but for 25 (uk) for 2 years it's really cheap, and so far has only been down twice in 4 years for 20mins a time. I have got into perl, but they are really small programs, a simple register/login, simple stock update, and a small program allowing downloads of a dynamicaly created external js.

    I have a reasonably large site that so far is only 4Mb (5.5Mb on disk). I also have a free BTopenworld site of 10Mb with nothing on it, which I could start using for uncompressed sounds.

    I think I'll stay where I am for now.

    Is asp includes similar to js includes but readable by search engines?

    Thanks again.
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if

  4. #4
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I don't know about JS includes readable by Search Engines. Maybe they are but ASP includes are readable by search engines.

    ASP includes remain server-side includes on server only. The server puts it all together & then send it to the browser, so at the browser end you can't tell what was included in the original page, much less you can guess what the original page was. Search Engines spider what one receive at the browser end. They don't & can't have a look at your ASP or any other server side code.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •