Server response time from a php file is too high

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bek Zod
    New Member
    • Oct 2011
    • 1

    #1

    Server response time from a php file is too high

    I am writing a parser, which grabs info. The problem is every time when i do a HttpWebRequest (c#) it takes 14 seconds to load. Approximately 10 seconds for response and 4 seconds is the downloading time (my inet connection is slow 512/kbs).

    Here is a fiddler report, request is done via Mozzila Firefox

    Request Count: 1
    Bytes Sent: 545 (headers:545; body:0)
    Bytes Received: 139 093 (headers:457; body:138636)
    ACTUAL PERFORMANCE

    ClientConnected : 00:18:34.015
    ClientBeginRequ est: 00:18:34.015
    ClientDoneReque st: 00:18:34.015
    Gateway Determination: 0ms
    DNS Lookup: 0ms
    TCP/IP Connect: 0ms
    HTTPS Handshake: 0ms
    ServerConnected : 00:18:34.015
    FiddlerBeginReq uest: 00:18:34.015
    ServerGotReques t: 00:18:34.015
    ServerBeginResp onse: 00:18:44.281
    ServerDoneRespo nse: 00:18:47.218
    ClientBeginResp onse: 00:18:47.218
    ClientDoneRespo nse: 00:18:47.234
    Overall Elapsed: 00:00:13.218750 0

    In my case the server is not to be blame for because it responses fast to other normal requests. The request which takes up too long is an ajax call in the site. So all in all some php file is responsing very slow.

    Is there any way to trick this, i mean can i somehow reduce the response time. BTW here is site offgamers.com. And forgot to say that the slow request returns xml dataType

    Will appreciate any help.
Working...