caching of images from database

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply

Tue Aug 20, 2002 5:21 am

As you probably know from a previous post I retrieve images from my database.
I noticed images that are sent to the user using my php-script are not cached as normal images.
How can tell the browser (and proxy's) that the image called with "image.php?id=234" will be the same image for the rest of eternity?? and that they may cache the file?
I am 100% sure that the image behind an id won't change. so "image.php?id=234" will always be the same.

Greetz Daan

New php-forum User
New php-forum User
Posts: 13
Joined: Thu Oct 10, 2002 10:37 pm
Location: Ukraine

Tue Dec 17, 2002 11:12 pm

Yuo can try to send disposition in your header. But I'm not shure that it will help.

Post Reply