PageSpeed Insights Basic Authentication Test

Test password protected pages behind HTTP Basic Authentication

How This Tool Works

This tool seamlessly integrates into the PagespeedPlus testing process. First, specify the credentials for Basic Auth in the form above. PagespeedPlus then uses these credentials to launch a lighthouse instance and securely access the protected pages to perform the analysis.


We built this tool to solve our own pain point of not being able to run page speed insights on pages behind basic authentication such as our development site. Knowing the pain this causes for developers, we make the tool freely available here. Please use it responsibly.

While it is possible to use Dev Tools in the browser, we wanted to have sharable reports instead of taking screenshots and also have the ability to lookup a previous test.

As we have the PageSpeedPlus platform, it was a simple addition to bolt this feature on.


Credentials from tests triggered using this tool are not stored in our system. They are disregarded as soon as the test is complete. This means credentials need to be re-entered every time a new test is started even if it is for the same URL. While an inconvenience for users, we just don't want the credentials lingering in our database.

What is HTTP Basic Authentication

HTTP Basic Authentication is a method for enforcing access controls to web resources. It requires users to verify their identity with a username and password before accessing a webpage. While effective for simple authentication scenarios, testing and optimizing web pages protected by Basic Auth has been a challenge. Traditional performance testing tools often stumble when faced with Basic Auth, limiting their ability to evaluate pages behind authentication barriers accurately.

Benefits of Testing Pages Behind Basic Authentication

By enabling Lighthouse testing on pages behind Basic Auth, PagespeedPlus offers several benefits:

  1. Comprehensive Analysis: Gain insights into the performance of your entire website, including sections previously inaccessible to testing tools.
  2. Improved Security: The feature supports best practices for security by allowing tests to run without exposing authentication details or making structural changes to bypass security measures.
  3. Efficiency and Convenience: It streamlines the testing process, making it easier and more efficient to identify and address performance issues across all parts of a website.

Automating Tests

Each test has to be triggered manually. If you want to automate tests on a scheduled and across multiple pages, start a trial of our tool and take things to the next level.

Kick The Tyres With Our 14 Day Trial
Start Monitoring Now