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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:23:37+00:00 2026-06-04T02:23:37+00:00

I want to slow down my app by adding latency for ajax requests. I

  • 0

I want to slow down my app by adding latency for ajax requests. I have two options: doing it in javascript and doing it server-side. With javascript, I could easily add a setTimeout on my requests but there are about 30 different requests and I’m wondering if there’s a better way, with less code.

I want to slow down ajax requests server-side. What’s the best way to do it? I’m using about 25 different asmx web services (will be converted to wcf soon) and I’m wondering how to make it so that all requests have 1000ms of latency.

My goal is to change as little code as possible so that I can turn this feature on/off by changing as little as possible.

Thanks for your suggestions.

In case you’re wondering why: I’m running on my local machine. I’m going to do a user-testing session and I need to simulate real ajax requests. Without latency, the ajax request happens almost instantaneously.

  • 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-06-04T02:23:38+00:00Added an answer on June 4, 2026 at 2:23 am

    You could add a

    System.Threading.Thread.Sleep(1000)
    

    in the OnRequestBegin-Handler or where ever you can intercept the request before doing the actual work.

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

Sidebar

Related Questions

I currently have a django site, and it's kind of slow, so I want
We have an app that creates queues and services in SQL Server using the
I have a mobile application that is suffering from slow-down over time. My hunch,
I want to run a light java app on a remote server running linux.
iam using c#,asp.net and iis, i want to simulate slow internet connection on my
How do I reversably slow a PC with XP? I want to achieve this
want to have a Hyperlink-Button in a gridView in which I can display a
I have a web-app that has a master mysql db and four slave dbs.
I have 2 databases and I need to link information between two big tables
I want to write a standalone GUI based app for administering one of the

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.