Mod Pagespeed killing my product pages

41 views
Skip to first unread message

Danielc1234

unread,
Mar 25, 2011, 5:56:47 PM3/25/11
to mod-pagespeed-discuss
Hi all. I first want to say how much I appreciate the hard work that
has gone into this mod.
I have had this on our apache server and was running very nice. Most
of the sites on our server are magento carts. For some reason after an
upgrade to the latest version of the mod, my product pages are messing
up.
There are several things that are happening.
First, it seems that the mod is doing something to the css, where it
is not loading certain css files, cause the classes are not being
found that are in a seperate css file. Second, when you try to add
something in the cart, it just does nothing.
I know these are very vague, but I am not a full fledged IT guy for
our company. I have put together this server from the ground up, but
learning as I go. So hopefully someone can explain to me how to
trouble shoot this or things I can try to do to get it working.
The mod definitely makes our sites faster and I would love to get this
working. I do know that magento uses its own caching and merging of
the css files, but I had the merging off, the cache was on.

Can someone tell me where to start?

Thanks Daniel

Joshua Marantz

unread,
Mar 25, 2011, 11:46:45 PM3/25/11
to mod-pagesp...@googlegroups.com, Danielc1234
Hi Daniel, thanks for the thoughtful comment; let's get your site sorted out.

First, can you tell us what the URL of your site is?  polywood-furniture.com does not appear to have mod_pagespeed enabled, at least currently.

Second, can you tell us what version of mod_pagespeed you are (were) running?  Version 0.9.16.3 had a bug that was fixed with a binary patch in version 0.9.16.9.  The symptoms reported for 0.9.16.3 may be consistent with the ones that you've described.  Upgrading should be a simple "yum update" or "rpm -U" command if you've installed from binary.

Danielc1234 Gmail

unread,
Mar 26, 2011, 12:12:28 AM3/26/11
to mod-pagesp...@googlegroups.com

Yes that is my url. I had turned off the mod_patespeed whilst I could figure out what was going on. This is on a live site and didn’t want to play too much on it.

 

Yes, I believe I was able to get the latest version on there…. package mod-pagespeed-beta-0.9.16.9-576.x86_64 is already installed when I tried to do an update.

 

I was hoping that maybe to schedule a time when someone that would be around at a certain time and was able to maybe lend a hand. I could turn it on at that point. I know I shouldn’t be messing with this on a live site, but like I mentioned before this was working for us with a great response.

 

Please adise.

Joshua Marantz

unread,
Mar 26, 2011, 12:20:13 AM3/26/11
to mod-pagesp...@googlegroups.com, Danielc1234 Gmail
If you leave the module installed, but put 'ModPagespeed off' in your config file then:
  - your real users will see your webpages without mod_pagespeed
  - we'll be able to enable the module remotely via query parameter ?ModPagespeed=on.  Similarly we
    will be able to control the set of filters by query-param &ModPagespeedFilters=f1,f2,f3..

We'll then be able to narrow down which of our filter(s) is causing trouble, hopefully figure out why, suggest a workaround while we work on a fix.

-Josh

Danielc1234

unread,
Mar 26, 2011, 1:30:46 AM3/26/11
to mod-pagespeed-discuss
Josh,

Yes, I have it installed and just turned it off.
I would like to ask if while testing a few things if you have any
recommendations on the optimal way I should have my conf file in
conjunction with my Magento software, that would be great as well.
As you can see in my conf file http://pastebin.com/VmXtTa0N I do not
have a lot activated and maybe missing out on the real potential of
this mod.

I know before the mod made a significant improvement in page load
times, which is what magento is lacking. Page load times are horrible
with this cart software.

Joshua Marantz

unread,
Mar 28, 2011, 11:46:43 AM3/28/11
to mod-pagesp...@googlegroups.com, Danielc1234
Hi Daniel,

The site seems to be working fine for me, at least in Firefox 3.x.  I entered "http://www.polywood-furniture.com/?ModPagespeed=on" in the URL bar and it looks fine.  Firebug indicates that mod_pagespeed is rewriting many resources, particularly images, and including the CSS files.  In particular the first CSS file reported by firebug is:


Can you describe in more detail which CSS files are not loading for you?  The site looks styled to me, but maybe there is a nuance I'm missing, or the problem occurs only in a sub-page.

-Josh

Danielc1234 Gmail

unread,
Mar 28, 2011, 12:02:50 PM3/28/11
to mod-pagesp...@googlegroups.com

Josh,

 

If you look at any product page, ie http://www.polywood-furniture.com/polywood-adirondack-chair-1.html take a look at the images below the main images. They are all out of alignment because of css. There is a css file that only loads on product pages. Last week even the js seemed to fail, but now seems to be working. As well as the tabs at the bottom right (Details | Warranty/Maintenance | Related Items | Reviews) was not working at all either, but now seems to be. So I’m not sure what exactly is happening.

 

Also, as I mentioned earlier is there settings that I should have active in order to get the most out of the mod?

 

Thanks again for all your help!

 

 

From: mod-pagesp...@googlegroups.com [mailto:mod-pagesp...@googlegroups.com] On Behalf Of Joshua Marantz
Sent: Monday, March 28, 2011 11:47
To: mod-pagesp...@googlegroups.com
Cc: Danielc1234
Subject: Re: Mod Pagespeed killing my product pages

 

Hi Daniel,

Joshua Marantz

unread,
Mar 28, 2011, 12:48:33 PM3/28/11
to mod-pagesp...@googlegroups.com, Danielc1234 Gmail
I've reproduced this problem.  The filter that breaks this page is combine_css, so it's possible for you to work around the problem on your site is to disable that filter. 

   ModPagespeedDisableFilters combine_css


I do have one other question relative to your site.  While you should temporarily disable combine_css, you can experiment with javascript and css minification.

   ModPagespeedEnableFilters rewrite_css,rewrite_javascript

Those two are not enabled by default yet because we are still working on validating them across a large number of sites, but many sites have been successful with them.  There are other optional filters that might benefit you:

   ModPagespeedEnableFilters collapse_whitespace,remove_comments

These are usually pretty safe, and I've tried it on that Adirondeck page and it looks good to me:


You can read about these filters and others at http://code.google.com/speed/page-speed/docs/filters.html

Thank you again for the bug report.  We don't like breaking page functionality/appearance and we will resolve this ASAP.

-Josh
Reply all
Reply to author
Forward
0 new messages