I've enabled mod_expires, and according to the tutorial, it seems to check out. I get an expiration date on all my files like i'd hope. The problem is that when I navigate to a page, and it loads images, it doesn't seem to pull from cache, it seems to be querying the server regardless.
System Specs: Centos 5.5 Apache 2.2.3 Test: navigate to webpage which has images. change one of the images that is on the web page. reload the page (either by closing the browser and going to the URL directly, or pressing the refresh button), new image loads. shouldn't the old image load?? tuts i referenced: http://httpd.apache.org/docs/2.0/mod/mod_expires.html http://www.howtoforge.com/make-browsers-cache-static-files-with-mod_expires-on-apache2-debian-squeeze conf: NameVirtualHost 192.168.0.34:80 <http://192.168.0.34/> <VirtualHost 192.168.0.34:80 <http://192.168.0.34/>> ServerName www.example.com DocumentRoot /var/www/html ServerAdmin [email protected] <IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 1 day" ExpiresByType image/jpg "access plus 1 day" ExpiresByType image/png "access plus 1 day" ExpiresByType image/gif "access plus 1 day" ExpiresByType image/jpeg "access plus 1 day" ExpiresByType text/css "access plus 1 week" ExpiresByType image/x-icon "access plus 1 month" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" </IfModule> </VirtualHost> mj/v _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
