#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    france
    Posts
    35
    Rep Power
    15
    Hi folks,

    Here's my problem:
    I have this dynamic site that uses a navigation header with images.
    I'd like not to cache all the dynamic stuff (...) but to have the images in the temporary internet files so it doesn't take hours for the user to donload everytime he opens a new page.

    How can I do that without using frames ???
    Thanks

    -
    J0f
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Newark, DE, USA
    Posts
    39
    Rep Power
    15
    Unfortunately, that's a client-side issue, which you cannot control. Any commonly used web browser will cache images the first time they are displayed, then used again when the browser sees it needs that same image again. If the browser isn't doing that correctly, that's not your problem.

    If you have too many images causing initial loading time of the page to be too long, maybe you can scale back the number of images you're using? Sometimes I find it necessary to replace iconic links with text links, drop an image from a page, or edit an image so that it's smaller (in byte count) by cropping it's pixel size, changing the resolution, or compressing it more.

    ------------------
    ~Chris
  4. #3
  5. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    There is a method that you can use.

    It's not perfect, as not all browsers honor the tag.

    Standard HTML Meta tag..
    <META HTTP-EQUIV="pragma" CONTENT="nocache">
    <META HTTP-EQUIV="Cache-control" CONTENT="no-cache">

    These tend to work with IE and NN..



    ------------------
    SnR Graphics,
    Low Cost Hosting and Web Development.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    france
    Posts
    35
    Rep Power
    15
    OK, but the thing is my browser (IE5) caches everything from other sites, but not from mine

    I tried taking all meta tags away, I tried them 1 by 1, but nothing seems to work...

    Could it be sthg on the PHP server's config ?

    Or is there a method to force image cacheing ?

    Thx

    -
    J0f

Similar Threads

  1. help: outlook express embedding images problem
    By fade011 in forum Windows Help
    Replies: 2
    Last Post: May 7th, 2004, 01:05 PM
  2. Image uploading butchering images
    By pablo.gosse in forum PHP Development
    Replies: 6
    Last Post: October 19th, 2003, 10:12 PM
  3. Replies: 2
    Last Post: September 26th, 2003, 10:40 AM
  4. Many images eating resources?
    By FragMaster B in forum HTML Programming
    Replies: 3
    Last Post: September 11th, 2003, 10:17 PM
  5. Need help to find closest images through timestamp
    By untexas in forum PHP Development
    Replies: 0
    Last Post: July 25th, 2003, 05:05 PM

IMN logo majestic logo threadwatch logo seochat tools logo