1

Has anyone installed Google Pagespeed Module into Magento? Is the implementation too hard to do it?

3

4 Answers 4

3

This is the one good module which allows you to configure google pagespeed easily.

Play with it

https://github.com/mediarox/pagespeed

I strictly recommend you to use this one in your dev. environment. Once you test all the features, You can move into production.Cheers.

3
  • Tks so much for the tip. However, have you implemented it in a website? Is it too hard to do it? Does it work well with magento?
    – RodSic
    Commented Aug 26, 2015 at 5:07
  • No, Its not that hard. It is very easy. Tanmay Kamath point is good. Accept mine as answer if it satisfy your quench LOL. :)
    – Sundar
    Commented Aug 26, 2015 at 5:23
  • Tks so much! ;) I will try it out.
    – RodSic
    Commented Aug 26, 2015 at 5:42
1

The module was easy to implement and worked as expected. However with FPC on it stopped working, so we uninstalled it.

0

Nope its not hard. Download the file from the link above. Place the files in appropriate folders. Edit the config file as per your needs. Login to magento admin panel. Configuration path: System > Configuration > ADVANCED > Pagespeed You will be able to see the pagespeed module there.

1
  • Tks very much! ;)
    – RodSic
    Commented Aug 26, 2015 at 5:42
0

I just thought I would share an outline of my recent efforts using the pagespeed_mod on Apache. It greatly improves page loading speed but is a pest when trying to update the site. This is the approach I took to make it less of a pain:

1: In the pagespeed module conf I set the cache directory to be inside the Magento var folder to make it easier for web scripts and my remote access user to get to it.

2: Wrote a script to recursively delete the contents of that said folder. See this stackoverflow post on this.

3: Added a new button to the clear cache admin page to call said script. You can do this by adding admin layout xml similar to this:

     <adminhtml_cache_index>
        <reference name="cache.additional">
            <block type="core/template" name="jh-pagespeedcache" template="pagespeedcache.phtml"/>
        </reference>
     </adminhtml_cache_index>

You can base your phtml contents on the existing clear cache buttons.

Just saves a bit of time and annoyance when you need to update the live site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.