Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Ajax call taking too long to return results

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #259494
    Manuel87
    Participant

    I am working on some tabs on a page and the basic functionality is like this:
    When a tab is clicked we make an Ajax call and return content from another page
    problem is that the duration for the request is taking almost 2 seconds (1.81s),
    when inspecting the call I see that waiting(TTFB) takes 1.66s I also see that this only
    happens when we make an Ajax call when we initially load the page it only takes 16ms to load.

    I have tried reducing the page size, blocking any JavaScript that might be causing any delays but cannot find the problem, now this site runs on codeigniter could it be that has something to do with it? I have also tried removing any content from the html that is populated via php but nothing helps.

    Any advise will be greatly appreciated.

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.