• Resolved krisosterhout

    (@krisosterhout)


    Good Afternoon,

    Firstly, thank you very much for an excellent plugin! I really appreciate the amount of functionality you provide, especially for free users!

    There is one issue that I’m hoping I can get your support on. We’ve created a quiz wherein the answer description is shown immediately upon clicking an answer within a question. This is working, but it is taking 3-4 seconds for the answer to appear. This looks to be due to a very long call time to admin-ajax.php. I’m a developer myself and I’ve tried to diagnose whether or not this may be caused by other factors (WordPress Heartbeat, MySQL fetch times, etc), but I can’t seem to determine what that might be.

    Have you had other situations where users have reported long TTFB for admin-ajax.php?

    Please note that this is occurring with and without any kind of caching solution.

    Thanks,
    Kris

Viewing 1 replies (of 1 total)
  • Hi @krisosterhout,

    Thanks for reaching out to us.

    This issue could be the server is busy when you were using the quiz.

    I had used my browser developer console to check the time taken for the ajax to complete.

    It only took a total of 1.75 seconds for the server to response.

    Here is a link to chrome developer tool’s explanation of the timing.

    https://developers.google.com/web/tools/chrome-devtools/network/reference?utm_source=devtools#timing-explanation

    Please take note of the explanation for Waiting (TTFB) 2.07 second

    Waiting (TTFB). The browser is waiting for the first byte of a response. TTFB stands for Time To First Byte. This timing includes 1 round trip of latency and the time the server took to prepare the response.

    This timing will increase if the latency and server response time increases. So, this is not a QSM issue.

    I hope this resolves your query.

    Regards,
    Kriti

Viewing 1 replies (of 1 total)
  • The topic ‘Long response time for answer’ is closed to new replies.