← Back to team overview

phpdevshell team mailing list archive

[Question #193668]: get_file_contents and curl are slow

 

New question #193668 on PHPDevShell:
https://answers.launchpad.net/phpdevshell/+question/193668

Hello, again.  I'm retrieving XML from a website using get_file_contents and curl and both methods are pretty slow.  get_file_contents takes from one to three seconds for each request and curl takes 5 or 6 times as long.  I know this isn't an issue with the remote site because I can just put the url in my browser and the XML is retrieved very quickly.  I suspect that I'm not configuring curl optimally but I can't imagine what's wrong with get_file_contents.  Could my PHPDevShell configuration be slowing these requests down somehow?

-- 
You received this question notification because you are a member of
PHPDevShell, which is an answer contact for PHPDevShell.