October 13th, 2000, 03:41 AM
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 ???
October 13th, 2000, 08:14 AM
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.
October 13th, 2000, 10:51 PM
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..
Low Cost Hosting and Web Development.
October 14th, 2000, 04:26 AM
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 ?