Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
5 votes
2 answers
2k views

Why is form submit preferred over AJAX for login forms?

Google, Facebook, Twitter, Amazon, and Stack Overflow, among many others, use form submits with full page reloads instead of AJAX on their login forms. I saw this question (When should I use AJAX to ...
flurry's user avatar
  • 153
9 votes
2 answers
1k views

How to load long-time-taking content?

We have a page that takes very long to load (approx. 15 seconds, might be even more for some clients) as the data it generates is heavy and slow. While we are trying to directly speed it up, 15 is ...
casraf's user avatar
  • 228
3 votes
5 answers
1k views

Showing a loader for longer than required because it looks good?

I have a website whereby lots of the loading/posting to a database is done with ajax. At the moment there are no loading screens. As such, if something breaks, the user has no idea that anything was ...
Thomas Clowes's user avatar
11 votes
9 answers
5k views

What to display while waiting for a process (4-5 seconds) to complete?

We realized that in some cases the user may be waiting up to 4 or 5 seconds (depending on connection) for their form (or some action) to be processed. The form involves getting data from other servers ...
Parris's user avatar
  • 213
7 votes
2 answers
2k views

How Should Tabbed Content be Loaded?

There are several approaches to loading content inside tabs. For example, Load all content initially, then just manipulate the DOM to show/hide tabs Load only the content of the active tab initially, ...
Ian Dunn's user avatar
  • 167
4 votes
2 answers
2k views

When should I use an ajax loader? When I wait more than 1 second, 2 seconds or 3 seconds?

In the web app I am working on right now we'll have some pages that will perhaps need more time to load. When should I use an ajax loader? After 1, 2 or 3 seconds?
tamimat's user avatar
  • 472
9 votes
3 answers
2k views

Assume success and show response immediately or wait for a response from the server?

All over my CMS I have buttons that toggle something on or off by sending an ajax request, updating the db, and then changes state and value of the button on success. Very basic "ajax" and "toggle". ...
user avatar
26 votes
4 answers
11k views

What is an acceptable response time for my ajax ui?

When I have to load new information from my web server via ajax after a user action, how fast should the information be displayed for the user in order to be a good working UI for the user?
txwikinger's user avatar
  • 1,245