A simple script help..

Discussion in 'PHP' started by FR3@K, Oct 8, 2007.

  1. #1
    my website has loads of images..
    all of them load again and again on every page..
    is there a script that stop them reloading again on another page?
    i need to show the cached images.. but the images should be loaded first time..
    can anyone help me??
     
    FR3@K, Oct 8, 2007 IP
  2. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #2
    Are you using meta norefresh ?
     
    it career, Oct 8, 2007 IP
  3. FR3@K

    FR3@K Banned

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    no...whats that?
     
    FR3@K, Oct 8, 2007 IP
  4. tamen

    tamen Peon

    Messages:
    182
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Is what you want to cut down on bandwidth and load-times? So that the images are cached in the browser and only downloaded the first time a user sees one of the pages?
     
    tamen, Oct 8, 2007 IP
  5. FR3@K

    FR3@K Banned

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    no no .. my websites images are re-loaded on every page ..
    i want them to be loaded once.. and to be showed on everypage without reloading again and again.. that will increase the site's speed.
     
    FR3@K, Oct 8, 2007 IP
  6. tamen

    tamen Peon

    Messages:
    182
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ah. Well... If the images are not dynamically generated, they should be cached by your users browser.
     
    tamen, Oct 8, 2007 IP
  7. chicagoweb

    chicagoweb Peon

    Messages:
    30
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    This might be a problem with your web server or HTTP header setup.
     
    chicagoweb, Oct 8, 2007 IP
  8. pachecus

    pachecus Well-Known Member

    Messages:
    1,841
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    110
    #8
    Post the url so we can see how the images are re-loaded.
     
    pachecus, Oct 8, 2007 IP
  9. GMROCKS

    GMROCKS Active Member

    Messages:
    648
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #9
    use iframes for the parts of the site that need to change.
     
    GMROCKS, Oct 8, 2007 IP