Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Quicken AJAX

  1. #1
    New Coder
    Join Date
    Dec 2008
    Posts
    58
    Thanks
    2
    Thanked 1 Time in 1 Post

    Quicken AJAX

    So I am doing an AJAX call where I pull a bunch of information out of a database and build it into a huge table and then use AJAX to shove it inside a div. The issue I am having is that the AJAX call is taking over 8 seconds to complete! I checked my sql query and that is only taking 0.0074 seconds (fairly insignificant). I am pulling close to 7,000 records (and hope to increase this to a few million once I can get the timing way down).

    Can someone explain how I can theoretically make this faster? I'm assuming this is the AJAX that is slowing it down, but Im new to the whole 'speed' thing. I'm used to developing smaller sites where speed wasn't a factor. Any help with any information would be greatly appreciated!

  • #2
    Smokes a Lot
    Join Date
    Jul 2003
    Location
    CA, USA
    Posts
    1,594
    Thanks
    5
    Thanked 20 Times in 20 Posts
    How are you building your table on the server side, or the client side?
    Helping to build a bigger box. - Adam Matthews

  • #3
    New Coder
    Join Date
    Dec 2008
    Posts
    58
    Thanks
    2
    Thanked 1 Time in 1 Post
    I think I'm doing it server-side... Here is what I'm calling basically: (in EXTREMELY simple form)

    file.php
    Code:
    $message = 'My table was here';
    echo $message;
    And the AJAX calls file.php and gets the info.... Does that make sense?...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •