MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
etags, godaddy & mod_pagespeed
Current time: 01-25-2021, 06:05 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
etags, godaddy & mod_pagespeed
06-23-2011, 12:32 PM
Post: #1
Question etags, godaddy & mod_pagespeed
i've now got all the "A's" i'm going to get (i'm not really worried about the CDN atm).

i've also implemented mod_pagespeed (which wasn't easy with godaddy as a server). now the problem is that etags are removed for my html files, but not for any other files on my site. here is my htacess file for review:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^matthewsgalleries\.com [nc]
RewriteRule ^(.*)$$1 [R=301,L]
ErrorDocument 404 /assests/404.html
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIEs(7|8) !no-gzip !gzip-only-text/html
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedRewriteLevel PassThrough
ModPagespeedEnableFilters collapse_whitespace,elide_attributes,extend_cache
<FilesMatch "\.(jpeg|jpg|gif|ico|css|js|png)$">
Header unset Etag
Header set Cache-control "max-age=2592000"
<FilesMatch "\.(html|htm)$">
Header unset Etag
Header set Cache-control "max-age=600"
Header unset Last-Modified

i tried moving the etags out of both of the filesmatch and put it right after the </ifModule>, but that caused a server error.

i'm really at a loss here! any help?
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
etags, godaddy & mod_pagespeed - rip97000 - 06-23-2011 12:32 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)