Hi guys.
I am here with an interesting question.. I will try to explain briefly.

For example you have left,middle and right section in your website. Each of them must show content in different files on your server (for example 1.txt,2.txt and 3.txt).The txt files are 512kb each.
In my case i have to do an ajax request to a php file that gets and echoes (so the ajax can take the result ofc) the content from the txt files.

So should i do 3 ajax requests(for each section) to the php file or do just 1 ajax request and then split the result in 3 parts with some separator for example.

What would be faster ? What would save more CPU usage too?

Thanks
Porsche_maniak Reviewed by Porsche_maniak on . PHP vs AJAX requests and speed question.. Hi guys. I am here with an interesting question.. I will try to explain briefly. For example you have left,middle and right section in your website. Each of them must show content in different files on your server (for example 1.txt,2.txt and 3.txt).The txt files are 512kb each. In my case i have to do an ajax request to a php file that gets and echoes (so the ajax can take the result ofc) the content from the txt files. So should i do 3 ajax requests(for each section) to the php file Rating: 5