I am not very well versed with internal HTML and PHP stuffs so I was wondering if I break my code into multiple php files and then include them in 1 html file will that add to the number of HTTP requests? Or it will be just 1 request since the browser is actually rendering the html file.
The code that I have is:
<?php include 'header.php'; ?>
<body></body>
<?php include 'footer.php'; ?>
So now will this index.html send 3 requests[1 for homepage + 2 for internal pages called by php] or just 1?
I am doing this keeping in mind: 1. Reducing HTTP requests 2. Reduce code size to improve site speed