Apache - Httpd.conf Entry - Static images

2011-11-13 Thread Polaris Polaris
Dear all,
   I have put the following entry in the httpd.conf file for compress
and expiry page. Can you pls check and confirm whether my entry is
correct in this file or i need to enabled anyother files.


Files *.cache.*
#SetOutputFilter DEFLATE
ExpiresActive on
ExpiresDefault now plus 1 month
/Files


Location /MYCssFiles
 SetOutputFilter DEFLATE
SetHandler weblogic-handler
IfModule mod_weblogic.c
WebLogicCluster Clustering ip1,ip2
MatchExpression *
/IfModule

#expires module tag for specifying the expiry of specific file types
 #IfModule mod_expires.c
 IfModule expires_module
  ExpiresActive On
  ExpiresByType image/gif now plus 7 day
  ExpiresByType image/jpg now plus 7 day
  ExpiresByType image/png now plus 7 day
  ExpiresByType application/javascript now plus 7 day
  ExpiresByType text/css now plus 7 day
 /IfModule
/Location

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Apache - Httpd.conf Entry - Static images

2011-11-13 Thread Thomas Broyer
You should apply a very short expiry on *.nocache.*, see 
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Xz2_ahNLZL8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.