Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3693198
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:20:59+00:00 2026-05-19T04:20:59+00:00

I have a webpage with ajax. Ajax HAS to load some data from other

  • 0

I have a webpage with ajax. Ajax HAS to load some data from other website, which takes some time. During that “load” time, my site is not responding well to user input (going to some other page etc). Before anyone yells – yes, I know, it’s because of ajax. 🙂

My question is – is there any way to limit ajax bandwidth? Fast website is my priority, loading data in the background is secondary.

So, if i have a javascript which calls php (ajax), and then php using cUrl gets some data and returns it back to javascript (actual code is to long to post it here, no one would read it for sure :D) is there any way to prevent that mechanism from blocking my page until it’s done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T04:21:00+00:00Added an answer on May 19, 2026 at 4:21 am

    The question is what is slowing your page down? It could be several things from yoyur description.

    A couple of things to bear in mind with ajax:

    1: most browsers will only do two xhr requests per domain at the same time

    2: if the result of the call xhr needs to be parsed and the parsing is heavy, like eval’ing json in old browsers, it can have a freezing effect on the browser while the data parsing occurs (js is single threaded by nature, unless you count webworkers in html5)

    3: if the result of the ajax forces the browser to re-render the page due to dom injection, the rendering can feel slow and freeze the browser a bit in old browsers.

    4: if you have bandwidth constraints, try to run your xhrs when the browser is done with other stuff, for instance, wait for domReady on pageload

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a webpage that makes an ajax call to get some data. That
I currently have a Rails website that has some Prototype scripting in it. My
I have a webpage, on which I am using Ajax to replace different divs
I have a Webforms, AJAX-enabled web page which, when rendering large amounts of data,
I have a webpage that pulls information from a database, converts it to .csv
I have a webpage that heavily uses Javascript (AJAX requests, Google Maps API, HTML
I have a webpage that has a textbox. When the user enters information into
I have a webpage that has JavaScript in it. The script contains a method
I have a simple webpage that uses the jquery template plugin to dynamically load
i have a web page that i want to load dynamically (ajax) into a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.