I've tested the script below in Firefox 39.0 and Google Chrome 43.0:
<?php
print "Start time: " . date("H:i:s");
sleep(3);
I've tested it both locally (under WAMP - Apache/2.4.9, PHP/5.5.12 ) and on a remote host (under Ubuntu, Apache/2.2.17, PHP/5.3.5).
It seems that even though I perform two parallel requests they are not served/processed in parallel (the "second" request is delayed by 3 seconds).
I know that this usually happens when using sessions (due to the session locking mechanism), but given that I'm not using any sessions how come the requests are serialized?
Is there anything else that I could check for?
Note: the value of session.auto_start
is OFF
Note: I noticed in Firefox, that if I disable the cache (browser's cache) I no longer encounter this. It might be related to Multiple Ajax requests for same URL and to Chrome treating smart url and causing concurrent requests pend for each other