Stop Page header, footer and shared images from reloading

Discussion in 'HTML & Website Design' started by deepman007, Jun 2, 2008.

  1. #1
    Hi

    Is there a way to stop your pages header, footer, and shared images through out the site from reloading every time a user goes to a different page?

    thanks
     
    deepman007, Jun 2, 2008 IP
  2. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #2
    research ajax page loading.

    if you are willing to pay, i will teach you how to do this.

    good day :)
     
    crath, Jun 2, 2008 IP
  3. TechnoGeek

    TechnoGeek Peon

    Messages:
    258
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is an old-fashioned thing called "frame". Frames were invented just to solve the problem you mentioned. There are no so popular nowadays because someones say that they are not a good user interface and others say that they are bad for search engine optimization (SEO). However, these are debatable points. You may see if frames are appropriate in your case.
    Good luck.
     
    TechnoGeek, Jun 2, 2008 IP
  4. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #4
    don't use iframes! one of the worst things you can put on a website :p

    research the things i said, it will be worth it in the long run
     
    crath, Jun 2, 2008 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    Unless you've given visiting browsers a no-cache instruction, don't worry about it. Images, script files and css files are only downloaded once. The second time and thereafter, they're loaded from the browser's cache. The text is light weight to the point of not mattering in most cases. I'm working on some articles right now. One is about 13,500 words, printing to 29 pages, and only runs 74kB. I doubt you have that much repeated text on a web page.

    Saving a few crumbs of bandwidth was important back when modems ran at 2400Bd, but even at 56Kb dial-up, text just isn't that big a deal. It's the graphic stuff that slows things down, but it's only loaded once, anyway. Worry about the first time, not the second. :)

    cheers,

    gary
     
    kk5st, Jun 2, 2008 IP
  6. deepman007

    deepman007 Peon

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Now the problem is in IE 6 & 7 where they blinks or reloads every time a user clicks on the link and from viewing the http response, I can tell the sharing css, images are cached in IE browser, but when is it that each page still blinks or reloads ?
     
    deepman007, Jun 6, 2008 IP
  7. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #7
    IE just does a crappy job handling cached files, and always has. To my knowledge, that's just the way it is.

    cheers,

    gary
     
    kk5st, Jun 6, 2008 IP