470,833 Members | 1,666 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

lack of mod_expires workaround...

My new web host doesn't have mod_expires compiled into Apache and this
is problematic because the server isn't encouraging proxies and browsers
to cache images by default. The images are even being reloaded whilst
traversing the site, even though they're being served from the same
location for different pages. This would be *so* easy to circumvent with
mod_expires, but it's simply not going to happen.

I'm just looking for opinion about the viability of using PHP to serve
images, sending with them of course Cache-Control (for http compliant >=
1.1 servers) or Expiry http headers. Is this likely to slow things down
considerably during busy periods? And will an image served by a PHP Get
request (something like http://myurl/getimage.php?image1.jpg) even be
cached by proxy servers?
--
Subtext Whore

"Where there is a perpetual fast there are very few crumbs
on the floor." - Henry James, The Aspern Papers (1888)

Jul 17 '05 #1
0 1646

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by klappnase | last post: by
45 posts views Thread by Ben Blank | last post: by
1 post views Thread by slyi | last post: by
76 posts views Thread by KimmoA | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.