Configuring Page Speed

From ShowSlow

Jump to: navigation, search

Contents

[edit] Google Page Speed Setup and Configuration

The following is serves as a guide and documentation for configuring Google Page Speed. It includes an example configuration which would enable automatic execution and submission to the http://www.ShowSlow.com/ server. Be sure to enter your own ShowSlow server URL as appropriate.

[edit] Requirements

  • Google Page Speed currently exists as a extension/addon in Mozilla Firefox.

[edit] Plug-in Installation

  1. Download and install Firebug.
    • For additional information and detailed documentation please see the Firebug Wiki.
  2. Download and install Google Page Speed.

[edit] About:config Configuration

Modify the Mozilla Firefox about:config with appropriate URL attribute value as provided on the /beacon/pagespeed/ page (or the Google Page Speed beacon or /configure.php of the desired private installation). The following provides a detailed advisory and instructions to do so.

[edit] PRIVACY WARNING

!WARNING! DO NOT ENABLE THESE VARIABLES IF YOU WISH TO MAINTAIN YOUR PERSONAL PRIVACY !WARNING!

The following configuration options configure the browser transmit information via HTTP GET or POST to the specified server EVERY TIME Google Page Speed IS RUN. This HTTP request includes the time, date, the EXACT AND COMPLETE URL (including HTTP query strings), the IP address of the browser, the hostname and other potentially identifying and personal information such as browser, version, operating system, etc. (to learn more, please read and review this Mozilla article and the Apache Custom LogFormat documentation).

You can create and configure a private ShowSlow server to limit this risk and exposure.

[edit] Example About:config (Manual)

The following is an example configuration which would enable submission to the public ShowSlow server at http://www.ShowSlow.com/.

extensions.PageSpeed.beacon.minimal.url = http://www.ShowSlow.com/beacon/pagespeed/   type string
extensions.PageSpeed.beacon.minimal.enabled = true   type boolean

[edit] Enabling Automatic Data Collection

Instructions for enabling automatic data collection and submission (a "monitor zombie"). Some users may wish to configure private hosts to automatically collect and submit Google Page Speed data to the configured ShowSlow server as specified in extensions.PageSpeed.beacon.minimal.url in the Mozilla Firefox About:config. The following includes a detailed advisory and instructions to do so.

[edit] CRITICAL PRIVACY WARNING

!WARNING! THESE OPTIONS EFFECTIVELY PUBLISH THE ENTIRE BROWSER HISTORY !WARNING!

ENABLING THE FOLLOWING OPTIONS WILL CAUSE THE CONFIGURED BROWER TO AUTOMATICALLY EXECUTE A Google Page Speed TEST AND SUBMIT THE RESULTS TO THE CONFIGURED HOST FOR EVERY PAGE VIEWED (SEE ABOVE).

[edit] Example About:config (Automatic)

The following is an example configuration which would enable automatic execution and submission to the dev.example.com ShowSlow server.

extensions.PageSpeed.beacon.minimal.url = http://dev.example.com   type string
extensions.PageSpeed.beacon.minimal.enabled = true   type boolean
extensions.PageSpeed.beacon.minimal.autorun = true   type boolean

[edit] PageSpeed beacon docs