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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:00:07+00:00 2026-05-26T08:00:07+00:00

My problem is that after breaking the KB size on a jquery POST, the

  • 0

My problem is that after breaking the KB size on a jquery POST, the sending time is mostly bigger than 1 sec.

Is there a good way to optimize that?

And why it takes so long to send, so less data?

  • 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-26T08:00:08+00:00Added an answer on May 26, 2026 at 8:00 am

    I had a similar problem, but in PHP. The thing is when you’re sending POST requests with a lot of (or large) parameter values (larger than 1Kb if I remember correctly), HTTP tries to optimize the requests by sending “Expect: 100” header directive.
    Meaning: wait for code 100 before sending the second part (those large parameters). In my case this was exactly 2 seconds. I solved this by sending the “Expect: ” header directive.

    If you look in the Net tab of your FireBug, is there by and chance the an Expect parameter in the Request Header?

    You can manually add the header like this (if you’re using the ajax jQuery function):

    $.ajax
    (
        {
            url: "return.php",
            headers:
            {
                'Expect': ''
            }
        }
    );
    

    I might be completely wrong, but this sounded too familiar for me to stay silent…

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

Sidebar

Related Questions

I'm having the weird problem that after having javascript inject some dom-elements the css-rules
I had a performance problem today that showed up after some profiling. Calls to
I got the problem that the if-statement doesn't work. After the first code line
Essentially, after compiling utility jars w/ ANT, I'm having the problem that all the
Update: After some more reading I see that this problem is totally general, you
so the problem is, that i want to insert a new row after another
The problem that I'm running into is that after I make an AutoIndex index
After reading several questions regarding problems with compilation (particularly C++) and noticing that in
One problem that I come across regularly and yet don't have a solution to
A problem that we need to solve regularly at my workplace is how to

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.