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.
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.
By enabling Lighthouse testing on pages behind Basic Auth, PagespeedPlus offers several benefits:
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.