Force IE to cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

In the httpd.conf, I have already set all the images files to expire
+10 years from now, using mod_expire.

Example response:
=============
Status=OK - 200
Date=Thu, 02 Oct 2008 16:23:15 GMT
Server=Apache
Last-Modified=Thu, 27 Mar 2008 08:02:14 GMT
Accept-Ranges=bytes
Content-Length=3945
Cache-Control=max-age=315360000
Expires=Sun, 30 Sep 2018 16:23:15 GMT
Keep-Alive=timeout=5, max=100
Connection=Keep-Alive
Content-Type=image/gif

I use Firefox to verify the expiry date, using about:cache, also tell
me the correct value.


Something quite strange, in the access log, there are quite a many of
304 Not Modified response. Since I have manually set an expire to 10
years, so the client should NOT request again  and again (yes, they
might hit F5, but I don't think there are so many people do the F5
every day .... 50% of all request).

After checking the log, I found most the 304 response is for client
IE6/IE7. Any things I have missed?

Thanks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux