Welcome to the Page Speed Project Site
This is the community website for developers of Page Speed, a Firefox plugin that can be used to identify ways to speed up your web pages. This site is for page speed development. If you want to use Page Speed, or read Page Speed's documentation, see http://code.google.com/speed/page-speed/.
What is Page Speed?
Page Speed is an open-source Firefox/Firebug Add-on. Webmasters and web developers can use Page Speed to evaluate the performance of their web pages and to get suggestions on how to improve them.
Here you can:
- Browse the source code
- File bugs and request new features
- Read our developer documentation: how to build the code or contribute
Getting Started with the Code
- Install Page Speed.
- Run Page Speed on a few websites, and see what the tool recommends.
- Read the documentation on the rules for which a page gets a bad score, and see if you can figure out how to improve the page.
- Check out a copy of the source.
- Look at the code for a rule. The simplest rule is implemented in the file duplicateResourceLint.js. Read this file, and figure out what the call to PAGESPEED.LintRules.registerLintRule() does by looking in lint.js.
- To debug Page Speed, use the function PS_LOG, which prints log messages. To the see the messages, you also need to set two Firefox preferences: see https://developer.mozilla.org/en/DOM/window.dump, and follow the instructions to enable dump(). Also set the preference extensions.PageSpeed.enable_dump_logging to True. The first few lines of util.js define PS_LOG, and the last few read the preference you just set.
- Take any issue from our bug tracker to get a good introduction to the codebase.
Additional Resources
- Join our discussion groups
- Browse code reviews currently in progress