httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] expires review
Date Mon, 14 Nov 2011 12:25:31 GMT
On Sat, Nov 12, 2011 at 2:10 PM, Brent Clark <brentgclarklist@gmail.com> wrote:
> Hiya
>
> Please could someone peer review the following for me.
> If this correct / acceptable?
>
> <IfModule mod_expires.c>
>  ExpiresActive On
>  ExpiresDefault "access"
>  ExpiresByType text/javascript               "access plus 1 day"
>  ExpiresByType text/xml                      "access plus 1 day"
>  ExpiresByType text/html                     "access plus 1 day"
>  ExpiresByType text/css                      "access plus 1 day"
>  ExpiresByType application/javascript        "access plus 1 day"
>  ExpiresByType application/x-javascript      "access plus 1 day"
>  ExpiresByType application/shockwave-flash   "access plus 1 day"
>  ExpiresByType application/x-shockwave-flash "access plus 1 day"
>  ExpiresByType application/pdf               "access plus 1 day"
>  ExpiresByType image/gif                     "access plus 1 month"
>  ExpiresByType image/jpeg                    "access plus 1 month"
>  ExpiresByType image/jpg                     "access plus 1 month"
>  ExpiresByType image/png                     "access plus 1 month"
>  ExpiresByType image/x-icon                  "access plus 1 month"
> </IfModule>
>

The syntax is correct - whether it is acceptable depends upon your needs.

Cheers

Tom

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message