How to install and run Chrome PageSpeed insights for measuring site performance

Page speed insight is a browser extension (Chrome and Firefox) which can be used to measure a website performance. It is an indispensable tool if you are managing a web site. This article is a quick start guide to install and use PageSpeed insight plugin with Chrome browser.

Install PageSpeed insight as Chrome plugin

PageSpeed insight runs in Chrome developers tools. To install it follow these quick steps:

  1. Visit page speed insight extension page in Google Chrome browser and click on install chrome extension as shown below:
    install-page-speed-chrome-extension-link
  2. Click add to chrome on extension page as shown below:
    pagespeed-insights-chrome-plugin-page
  3. Click add on the confirmation dialog box.
  4. Here is how the toolbar icon appear once the plugin is installed:
    pagespeed-insighs-extension-toolbar-icon

Using PageSpeed insight as Chrome plugin

These are the quick steps to run PageSpeed insights on a page.

  1. Visit the site in Chrome browser for which you want to run pagespeed insights.
  2. Open chrome developers tools by clicking on “customize and control Google Chrome” icon on top right corner of browser -> Tools > Developer Tools.
    pagespeed-open-chrome-developer-tools
  3. Select the page speed tab and click analyze as shown below:
    pagespeed-tab-chrome-developer-tools
  4. PageSpeed plugin will reload the current page in browser and create the performance report. Here is how the report looks like:
    pagespeed-run-report-overview-chrome-developer-toolsThe report is pretty detailed and has many section. It may take sometime to get a hang of various items in the report.

Quick fix items from PageSpeed report

Ideally you should fix as many items as possible from Pagespeed report. But often there are two many items on a site when pagespeed is run first time. Here are few things which can be fixed with little effort:

  1. Leverage browser caching by appropriate headers. For apache look at mode_expires module.
  2. Enable compression. For apache, this is handled by installing module mod_deflate.
  3. Inline small javascripts and css.
  4. Move javascript to the end of the page whenever possible.

Additional notes

  1. Page speed can also be run online. That way you don’t have to install anything.
  2. Page speed insight can also be used as firefox extension.

 

Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments