Hi,
I'm having problems with the images on my (php build) site. Every page contains a lot of the same images. But they are not cached! I would like them to be cached because it would make the site a lot faster.
How can I achieve this? I've tried with :
Header ("Last-Modified: " . gmdate("D, d M Y H:i:s",mktime (0,0,0,1,1,2000)) . " GMT"); // Date in the past
Header ("Expires: Mon, 26 Jul 2040 05:00:00 GMT"); // In other words... never expire the image
Header ("Cache-Control: max-age=10000000, s-maxage=1000000, proxy-revalidate, must-revalidate");//Cache-Control header is ESSENTIAL for forcing Netscape to load all images!... and telling the ISP caches to do the same in this case cache for 1 million seconds.
But it doesn't seem to work.
Thanx a lot in advance.
Kind regards,
Marc