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 6809521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:05:47+00:00 2026-05-26T20:05:47+00:00

I am creating some plugins that use ajax to fetch the information for the

  • 0

I am creating some plugins that use ajax to fetch the information for the page. Now there are different plugins that do different functions.

All the plugins need to be used as stand-alone, but I also want to add the functionality that they can work nice together.

All the different plugins have there own JavaScript file, and functions. This is no problem in terms of HTTP requests, because most people have plugins that merge all the files into one when the website is deplyed.

—

Now for my question. As I say the different plugins get different parts of the website. For example, post counts, user tweets, user – statistics, post comments.

Now can I specify the priority on which this information is called from the website. I can not merge them all into one ajax call I think, because they are all individual working components.

Anyone know a good solution how I can spicify to first get the comments, after that the statistics, etc, etc.

My JS framework of choice is jQuery.

  • 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-26T20:05:47+00:00Added an answer on May 26, 2026 at 8:05 pm

    One general method would be to implement a priority queue for pending AJAX calls. Each plugin would place their call on the queue, with an associated priority on the call, and an AJAX queue processor would work through the queue in order of priority.

    Here’s an example of a jQuery priority queue plugin:

    http://benalman.com/code/projects/jquery-message-queuing/docs/files/jquery-ba-jqmq-js.html

    Also, here’s one already implemented for AJAX requests:

    Sequencing ajax requests

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

Sidebar

Related Questions

I am creating a small plugin that process some images. Now to report the
I'd like to provide some way of creating dynamically loadable plugins in my software.
I'm reading some tutorials now about jQuery.. function creating,plugin creation etc. but these tutorials
I am creating some build scripts that interact with Perforce and I would like
I'm creating some text boxes on my form programmatically which I need to reference
I am considering creating some JSP-tags that will always give the same output. For
I'm creating some big files (DB exports) with Java and I need to put
I am new to creating plug-ins, and there's much that I don't understand. One
I've created several helper functions which I use when creating templates for Wordpress. An
I'm creating an NPAPI plugin that isn't supposed to have a UI (for use

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.