I have a webpage contains a lot of information; part of them is from the database (queries) and part is from remote xml files (http requests).
I want to know if it is possible to get the files together in one request.
I use the following instruction to get the xml files using php:
$xml1 = simplexml_load_file('http://www.example.com/feed/soccer/d1');
.
.
.
$xml5 = simplexml_load_file('http://www.example.com/feed/soccer/d5');
Is there a way to get the whole file as one in one request? because the page is slow and i think that is because of those links. (SQL queries are optimized).