Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 28717 invoked from network); 26 Jan 2004 16:07:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Jan 2004 16:07:48 -0000 Received: (qmail 35656 invoked by uid 500); 26 Jan 2004 15:01:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 35646 invoked by uid 500); 26 Jan 2004 15:01:31 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 35615 invoked from network); 26 Jan 2004 15:01:31 -0000 Received: from unknown (HELO web40505.mail.yahoo.com) (66.218.78.122) by daedalus.apache.org with SMTP; 26 Jan 2004 15:01:31 -0000 Message-ID: <20040126150128.8381.qmail@web40505.mail.yahoo.com> Received: from [68.87.101.1] by web40505.mail.yahoo.com via HTTP; Mon, 26 Jan 2004 07:01:28 PST Date: Mon, 26 Jan 2004 07:01:28 -0800 (PST) From: Paul Laudanski To: users@httpd.apache.org In-Reply-To: <40152594.3060406@seresco.es> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1064980028-1075129288=:8331" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Unable to set browser image caching in Apache X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-1064980028-1075129288=:8331 Content-Type: text/plain; charset=us-ascii Hello, I have mod_expires loaded and the following settings for two of my sites (computercops.biz & nukecops.com): ExpiresActive On ExpiresByType image/gif "access plus 1 hour" ExpiresByType image/jpeg "access plus 1 hour" ExpiresActive On ExpiresDefault A3600 ExpiresActive On ExpiresByType image/gif "access plus 1 hour" ExpiresByType image/jpeg "access plus 1 hour" ExpiresActive On ExpiresDefault A3600 This is a telnet sessions to nukecops.com on port 80: HTTP/1.1 200 OK Date: Mon, 26 Jan 2004 14:32:38 GMT Server: Apache Vary: Accept-Encoding X-Powered-By: PHP/4.3.3RC2-dev Connection: close Content-Type: text/html I found this thread: http://groups.google.com/groups?ic=1&th=aab8ccae2d489c15,7 and am curious as to what the settings should be since the date on it is rather dated. The images are not being cached at either site and its causing slow page loads on the client side at times. Also please note that I have mod_rewrite enabled as well. Thanks --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! --0-1064980028-1075129288=:8331 Content-Type: text/html; charset=us-ascii

Hello, I have mod_expires loaded and the following settings for two of my sites (computercops.biz & nukecops.com):

<IfModule mod_expires.c>
  <Directory /path/to/computercops>
    ExpiresActive On
    ExpiresByType image/gif "access plus 1 hour"
    ExpiresByType image/jpeg "access plus 1 hour"
  </Directory>
  <FilesMatch "\.jpg$">
    ExpiresActive On
    ExpiresDefault A3600
  </FilesMatch>
</VirtualHost>

<IfModule mod_expires.c>
  <Directory /path/to/nukecops>
    ExpiresActive On
    ExpiresByType image/gif "access plus 1 hour"
    ExpiresByType image/jpeg "access plus 1 hour"
  </Directory>
  <FilesMatch "\.jpg$">
    ExpiresActive On
    ExpiresDefault A3600
  </FilesMatch>
</IfModule>
</VirtualHost>

This is a telnet sessions to nukecops.com on port 80:

HTTP/1.1 200 OK
Date: Mon, 26 Jan 2004 14:32:38 GMT
Server: Apache
Vary: Accept-Encoding
X-Powered-By: PHP/4.3.3RC2-dev
Connection: close
Content-Type: text/html

I found this thread: http://groups.google.com/groups?ic=1&th=aab8ccae2d489c15,7 and am curious as to what the settings should be since the date on it is rather dated.  The images are not being cached at either site and its causing slow page loads on the client side at times.

Also please note that I have mod_rewrite enabled as well.

Thanks


Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it! --0-1064980028-1075129288=:8331--