php - Load local host URL in 2nd tab runs 1st tab to same URL faster. Why? -


when single tab open url:

http://localhost/soccer/public/index.php

and second tab open

http://localhost/soccer/public/games.php

if first tab taking long time, (3 seconds or more), execute/load going 2nd tab , reloading/refreshing causes 1st tab load "instantly".

i can't understand why loading different tab force 1st tab load faster. browser latest chrome. wamp set running php 7.

the url can change 1 of local sites have , results same; refreshing 2nd tab loads 1st tab immediately.

thanks shedding light on curiosity.

code tax:

$query = "show tables"; $stmt = $con->prepare($query); $r = $stmt->execute(); echo "completed"; 


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -