Re: expires review

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

 



On Sat, Nov 12, 2011 at 2:10 PM, Brent Clark <brentgclarklist@xxxxxxxxx> 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@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