Page 1 of 4 123 ... LastLast
Results 1 to 15 of 55

Thread: New Apache mod_pagespeed from Google

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    1

    Default New Apache mod_pagespeed from Google

    Hello,

    Would it be possible to add mod_pagespeed to Apache via Cpanel?

    Page Speed Downloads

    http://www.modpagespeed.com/

    With Google looking at page load times for factoring SEO, it would be nice to be able to add this to my servers.

    Thanks,

    NoChance

  2. #2
    Member sneader's Avatar
    Join Date
    Aug 2003
    Location
    La Crosse, WI
    Posts
    1,005
    cPanel/WHM Access Level

    Root Administrator

    Default New Apache mod_pagespeed from Google

    Looks interesting!

    mod_pagespeed Overview

    mod_pagespeed is an open-source Apache module that automatically optimizes web pages and resources on them. It does this by rewriting the resources using filters that implement web performance best practices. Webmasters and web developers can use mod_pagespeed to improve the performance of their web pages when serving content with the Apache HTTP Server.

    mod_pagespeed includes several filter that optimize JavaScript, HTML and CSS stylesheets. It also includes filters for optimizing JPEG and PNG images. The filters are based on a set of best practices known to enhance web page performance. Webmasters who set up mod_pagespeed in addition to configuring proper caching and compression on their Apache distribution should expect to see an improvement in the loading time of the pages on their websites.

  3. #3
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    333
    cPanel/WHM Access Level

    Root Administrator

    Default Re: New Apache mod_pagespeed from Google

    It does indeed look VERY interesting..

    So, can we get some input and thoughts from the cPanel devs about this please.
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: New Apache mod_pagespeed from Google

    It may be possible to simply use apxs to dynamically add the module to Apache without it needing to be done via EasyApache as a custom module. Most custom modules for Apache can be added via apxs without an EasyApache recompile needing to be done. I'd have to personally test it to see the results and there doesn't appear to be much documentation for it at the moment.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,053
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb Re: New Apache mod_pagespeed from Google

    Since there was already a new thread posted to Feature Requests for this earlier today, I've merged sneaders thread and this one together.

  6. #6
    Member
    Join Date
    Feb 2007
    Posts
    294

    Default Re: New Apache mod_pagespeed from Google

    How does it affect server performance?

  7. #7
    Member
    Join Date
    Feb 2007
    Posts
    18

    Smile Re: New Apache mod_pagespeed from Google

    I have created a how-to on installing mod_pagespeed on Apache v2.2 + Cpanel.

    Install mod_pagespeed in Apache for Cpanel | technomenace.com

    On a dedicated server, it is running fine with not much resource usage, but on my 1GB vps, it spiked the load to 40+ and I had to stop it as soon as I started. Need more inputs on how this module works for other people, and what all tweaks can be done..

    A lot of data is being written into apache error logs, and I suspect whether it will cause any i/o waits if your server is already sluggish..

  8. #8
    Member
    Join Date
    Feb 2007
    Posts
    294

    Default Re: New Apache mod_pagespeed from Google

    Hmm, have you noticed any spikes in RAM usage as well?

  9. #9
    Member
    Join Date
    Feb 2007
    Posts
    18

    Lightbulb Re: New Apache mod_pagespeed from Google

    Quote Originally Posted by DjiXas View Post
    Hmm, have you noticed any spikes in RAM usage as well?
    Yes, there is some increase in RAM usage by apache processes. I disabled it from my vps as soon as I started running it.. Waiting to see results, hopefully many more people will test it..

    If someone got this working without must resource spike and your server is stable, please be kind enough to to report your server specs (ram and hardware) and any notable improvement in performance.

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: New Apache mod_pagespeed from Google

    Quote Originally Posted by vimalkumar_k View Post
    I have created a how-to on installing mod_pagespeed on Apache v2.2 + Cpanel.

    Install mod_pagespeed in Apache for Cpanel | technomenace.com

    On a dedicated server, it is running fine with not much resource usage, but on my 1GB vps, it spiked the load to 40+ and I had to stop it as soon as I started. Need more inputs on how this module works for other people, and what all tweaks can be done..

    A lot of data is being written into apache error logs, and I suspect whether it will cause any i/o waits if your server is already sluggish..
    One tip on this section:

    And finally, include pagespeed.conf in /usr/local/apache/conf/httpd.conf:

    Include “conf/pagespeed.conf”
    If you put something into httpd.conf directly in most areas, /scripts/rebuildhttpdconf and /scripts/easyapache will wipe it. You should use the include files at /usr/local/apache/conf/includes to put that into httpd.conf as those are added whenever you distill Apache and won't wipe on rebuild and recompile. If you do put it into an include file (such as pre_main_global.conf possibly), you'd want to run these three commands afterward:

    Code:
    /usr/local/cpanel/bin/apache_conf_distiller --update
    /scripts/rebuildhttpdconf
    /etc/init.d/httpd restart
    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Member
    Join Date
    Aug 2006
    Posts
    10

    Default Re: New Apache mod_pagespeed from Google

    I don't know what I'm doing wrong but following the above linked article and changing for 2.2.16 and 64bit it seems to be loading and httpd responds to the first few requests before the entire server slows to a crawl and I have to restart.

  12. #12
    Member
    Join Date
    Nov 2010
    Posts
    12

    Default Re: New Apache mod_pagespeed from Google

    On Centos build on 64 I get this error

    httpd: Syntax error on line 28 of /usr/local/apache/conf/httpd.conf.1288941448: Syntax error on line 1 of /usr/local/apache/conf/includes/pre_main_global.conf: Syntax error on line 1 of /usr/local/apache/conf/pagespeed.conf: Cannot load /usr/local/apache/modules/mod_pagespeed.so into server: /usr/local/apache/modules/mod_pagespeed.so: wrong ELF class: ELFCLASS32

    Can somebody help pls

  13. #13
    Member
    Join Date
    Feb 2007
    Posts
    18

    Default Re: New Apache mod_pagespeed from Google

    If you downloaded the rpm as per my guide, its for 32-bit..

    You need to get the 64-bit version package from https://dl-ssl.google.com/dl/linux/d...ent_x86_64.rpm and proceed further..

  14. #14
    Member
    Join Date
    Nov 2010
    Posts
    12

    Default Re: New Apache mod_pagespeed from Google

    That is correct thank u for helping me.

    Unfortunately after a minute from installation the server load super increased .

    So I have to remove mod_pagespeed

    I think u have to wait until a beta final finishes

  15. #15
    Member
    Join Date
    Aug 2006
    Posts
    10

    Default Re: New Apache mod_pagespeed from Google

    Quote Originally Posted by zipicip View Post
    That is correct thank u for helping me.

    Unfortunately after a minute from installation the server load super increased .

    So I have to remove mod_pagespeed

    I think u have to wait until a beta final finishes
    So it's not just me then, good.

Page 1 of 4 123 ... LastLast

Similar Threads

  1. mod_pagespeed doubles the bandwidth usage
    By supriya in forum Optimization
    Replies: 0
    Last Post: 12-15-2010, 01:43 AM
  2. Mod_pagespeed for cPanel
    By sh4ka in forum Optimization
    Replies: 1
    Last Post: 11-04-2010, 10:59 AM
  3. No Google?
    By xXMetalicDustXx in forum New User Questions
    Replies: 1
    Last Post: 12-01-2007, 07:27 PM
  4. Can't see google.com
    By KennySim2K3 in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 12-18-2003, 02:45 PM

Tags for this Thread