WebPagetest Forums
Basic authentication credential storage - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Basic authentication credential storage (/showthread.php?tid=10614)



Basic authentication credential storage - ETKTest - 02-17-2012 08:24 PM

Hi there,

When I launch 10 consecutive tests on a web site that needs basic authentication, the first connection always takes much more time.
Are the credentials store after the first connection ? How could I avoid this storage to test a real first connection each time ?

Thanks for your answer.

Regards,

C.R.


RE: Basic authentication credential storage - pmeenan - 02-21-2012 01:37 AM

The credentials are not stored on the browser side. What you are probably seeing is server-side caching. On the first request the credentials have not been accessed in quite a while and the server probably needs to go to disk (or some external system). On subsequent visits the server already has the credentials in RAM (even if it is just the OS filesystem cache) so it is a lot faster.


RE: Basic authentication credential storage - ETKTest - 02-21-2012 01:44 AM

That makes sense ! I just wanted to make sure that there was no browser caching on this test. Your response is very clear.

Thanks !