Author Topic: Google releases mod_pagespeed for Apache  (Read 15330 times)

Torben

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
    • View Profile
Google releases mod_pagespeed for Apache
« on: November 03, 2010, 08:11:48 PM »
Google has just released an Apache module, which automatically optimized the load time of a website.

It's called mod_pagespeed and pretty much implements all the elements evaluated in the PageSpeed browser extension

http://code.google.com/speed/page-speed/docs/module.html

JamesR

  • Full Member
  • ***
  • Posts: 206
    • View Profile
    • Email
Re: Google releases mod_pagespeed for Apache
« Reply #1 on: November 03, 2010, 08:21:51 PM »
Interesting, how do you feel about giving them that much control?  any potential for automated snafus?

Torben

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
    • View Profile
Re: Google releases mod_pagespeed for Apache
« Reply #2 on: November 03, 2010, 09:44:28 PM »
You are not giving Google any control by using mod_pagespeed.

All mod_pagespeed does is rewrite and optimize your site in the way you should be doing anyway if you care about loadtimes. Actually most of the functionality is covered by the W3 Total Cache plugin for WordPress.

JamesR

  • Full Member
  • ***
  • Posts: 206
    • View Profile
    • Email
Re: Google releases mod_pagespeed for Apache
« Reply #3 on: November 03, 2010, 10:14:23 PM »
Quote
implements all the elements evaluated in the PageSpeed browser extension

I have to check details with my webmaster and I haven't looked into exactly what the Apache mod does but he intentionally chose not to integrate all the PageSpeed suggestions such as:

1 - "Serve the following static resources from a domain that doesn't set cookies"
2 - "Combine images into CSS spirtes" (we didn't want to do this with every image - understand the Apache tool couldn't do this)
3 - "Combine external java script"
4 - "Minify CSS"
5 - "Use efficient CSS selectors"

There were (apparently) good reasons not to implement the PageSpeed suggestions to the letter.


Torben

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
    • View Profile
Re: Google releases mod_pagespeed for Apache
« Reply #4 on: November 03, 2010, 10:56:19 PM »
>There were (apparently) good reasons not to implement the PageSpeed suggestions to the letter

The only valid reason for not implementing those five actions is if you think your time is spent better else where. Each of those areas will improve load time. End of story

JamesR

  • Full Member
  • ***
  • Posts: 206
    • View Profile
    • Email
Re: Google releases mod_pagespeed for Apache
« Reply #5 on: November 04, 2010, 01:20:02 AM »
Quote
if you think your time is spent better else where

That was part of it (negligible benefit to time spent) and also the cookie thing.  Our CMS sets cookies for its own tracking purposes along with other third party scripts/ad services.

CSS sprites, I am told, are problematic if your images are changing frequently within the sprite set (graphical features that change/automated according to various rules like sales/popularity etc.)

Again, there may have been other reasons as well, I don't handle it.

jangro

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Email
Re: Google releases mod_pagespeed for Apache
« Reply #6 on: November 04, 2010, 06:58:58 PM »
Thing that stopped me short is that it requires apache 2.2.  CPanel's default isn't there yet, so it would require an upgrade. 

I'll be testing it out sometime soon.

Torben

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
    • View Profile
Re: Google releases mod_pagespeed for Apache
« Reply #7 on: November 05, 2010, 10:33:15 AM »
I have begun testing mod_pagespeed.

First thing to notice is the filename of RPM mod-pagespeed-beta_current_i386.rpm

Beta? No where on the Page Speed project site does it say anything about beta. I'm aware of that G likes to keep stuff in beta for as long as possible for legal reasons, but seriously guys? Don't lure webmasters in to installing beta software on production servers. 

jangro

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Email
Re: Google releases mod_pagespeed for Apache
« Reply #8 on: November 11, 2010, 06:40:14 PM »
I'm watching this closely Torben.  Any updates?  Have you got it installed yet?

ukgimp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2241
    • View Profile
Re: Google releases mod_pagespeed for Apache
« Reply #9 on: November 11, 2010, 06:52:57 PM »
I suppose you could "cloak" for cookies, ie not set them if they the UA is G :-)

Torben

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
    • View Profile
Re: Google releases mod_pagespeed for Apache
« Reply #10 on: November 11, 2010, 10:08:28 PM »