Re: [users@httpd] expires review

2011-11-23 Thread Matus UHLAR - fantomas

On 12.11.11 16:10, Brent Clark wrote:

Please could someone peer review the following for me.
If this correct / acceptable?


correct - yes, acceptable - not ;-)
Why do you need such agressive expire?


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/javascriptaccess 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/jpegaccess 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

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)

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



Re: [users@httpd] expires review

2011-11-14 Thread Tom Evans
On Sat, Nov 12, 2011 at 2:10 PM, Brent Clark brentgclarkl...@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-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] expires review

2011-11-12 Thread Brent Clark
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/javascriptaccess 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/jpegaccess 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

Regards
Brent Clark

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