ok changed to
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedRewriteLevel PassThrough
ModPagespeedEnableFilters
rewrite_javascript,rewrite_images,collapse_whitespace,elide_attributes,extend_cache
</IfModule>
<FilesMatch "\.(jpeg|jpg|png|gif|css|js|ico)$">
Header set Cache-control "max-age=600"
</FilesMatch>
<FilesMatch "\.(html|htm|)$">
Header unset Etag
Header set Cache-control "max-age=600, no-cache, no-store"
Header unset Last-Modified
</FilesMatch>
will test later tonight
is there even a need for the ifmodule if we know that the mod is
installed?
any chance of godaddy upgrading the mod?
thanks for you help!
On Jun 15, 5:52 am, Joshua Marantz <
jmara...@google.com> wrote:
> Thanks for pasting your .htaccess file. I found a couple of small issues
> which can easily be fixed :)
>
> make_google_analytics_async is supported by mod_pagespeed but it was added
> after Go Daddy released. Go Daddy has not yet upgraded the version of
> mod_pagespeed they are using. You can tell what version of mod_pagespeed is
> in use by looking at the response-headers in Firebug. For
>
awkwardfamilyphotos.com this header is included:
> X-Mod-Pagespeed 0.9.15.4-423
> On a site with an up-to-date mod_pagespeed you'll see this:
> X-Mod-Pagespeed 9.17.7-716
>
> Next, you have spaces in your ModPagespeedEnableFilters line. The list of
> filters should be comma-separated, but without spaces.
>
> Finally, by setting your cache max-age to 7776000 you have made it hard for
> yourself to update css and js files. If you set it to something more like
> 10 minutes (max-age=600) then mod_pagespeed will extend the cache lifetime
> for a year, but will do a server-side check every 10 minutes to see if the
> files have been updated. This is the value of the extend_cache filter: to
> provide long cache lifetimes to browsers will giving you the ability to
> update your site.
>
> None of those FilesMatch directives need to be in the IfModule.
>
> -Josh
>
> On Wed, Jun 15, 2011 at 4:50 AM, joe van winkle <
rip97...@gmail.com> wrote:
>
>
>
>
>
>
>
> > thanks joshua! (which is also my son's name)
>
> > here's what i have so far in my .htaccess
>
> > RewriteEngine On
> > RewriteCond %{HTTP_HOST}
> > ^matthewsgalleries\.com [nc]
> > RewriteRule (.*)
http://www.matthewsgalleries.com/$1[R=301,L]