httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Laudanski <laud...@yahoo.com>
Subject Re: [users@httpd] Unable to set browser image caching in Apache
Date Mon, 26 Jan 2004 16:03:11 GMT

Hi & thanks Joshua.

Example: http://computercops.biz/images/members.gif

HTTP/1.1 200 OK

Date: Mon, 26 Jan 2004 15:33:16 GMT

Server: Apache

Vary: Accept-Encoding

Cache-Control: max-age=3600

Expires: Mon, 26 Jan 2004 16:33:16 GMT

Last-Modified: Fri, 10 Jan 2003 03:58:19 GMT

ETag: "34a64-ab-3e1e44db"

Accept-Ranges: bytes

Content-Length: 171

Content-Type: image/gif

 

Example: http://computercops.us/modules/Forums/images/avatars/bugsicon1.gif

HTTP/1.1 200 OK

Date: Mon, 26 Jan 2004 15:34:33 GMT

Server: Apache

Vary: Accept-Encoding

Cache-Control: max-age=3600

Expires: Mon, 26 Jan 2004 16:34:33 GMT

Last-Modified: Thu, 13 Feb 2003 00:08:47 GMT

ETag: "12f6-1a63-3e4ae20f"

Accept-Ranges: bytes

Content-Length: 6755

Content-Type: image/gif

Hmm, I should have checked this first -- directly on the image. It seems like it is caching
then but the time needs to be advanced greatly. So, does this look alright?

But lets check this PNG:

http://computercops.us/phpimages/logo.php?op=zx

HTTP/1.1 200 OK

Date: Mon, 26 Jan 2004 15:41:33 GMT

Server: Apache

Vary: Accept-Encoding

X-Powered-By: PHP/4.3.3RC2-dev

Transfer-Encoding: chunked

Content-Type: image/png

Now onto a jpeg:

http://nukecops.com/themes/fisubsilversh/forums/images/logo.jpg

HTTP/1.1 200 OK

Date: Mon, 26 Jan 2004 15:42:34 GMT

Server: Apache

Vary: Accept-Encoding

Cache-Control: max-age=2592000

Expires: Wed, 25 Feb 2004 15:42:34 GMT

Last-Modified: Mon, 15 Sep 2003 20:40:09 GMT

ETag: "1323ea-2015-3f6623a9"

Accept-Ranges: bytes

Content-Length: 8213

Content-Type: image/jpeg

Thanks,

Paul
Joshua Slive <joshua@slive.ca> wrote:
On Mon, 26 Jan 2004, Paul Laudanski wrote:

This is not a request for an image. The content type is text/html. What
do the headers look like for the images?

Joshua.


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
Mime
View raw message