Before discussing this last point, I have to address the first two. So, first of all, this write-up is not about using AJAX because it's cool, or because it'd make the site seem more modern, or even to improve usability (although IMHO that might be a good reason). I'd like to discuss it here only because it might be possible to use it to reduce server load.
Secondly, of course AJAX in itself requires JavaScript. However, there isn't any reason the site can't degrade gracefully (to its current behavior) in the event JavaScript is disabled or otherwise not available. That is, in fact, best practice for any use of JavaScript, so I see this as a non-issue, given that things are done properly with respect to users who don't use JavaScript.
So, that having been said, the main reason previous AJAX additions could increase server load is simply because the server doesn't have support for them. That is, most of these AJAX requests are going to force a complete page re-load in the background, where it's not even visible to the user. But if the server were set up to expect and handle AJAX requests differently, it could be streamlined to simply do the minimal amount of work necessary for this request, and only send a small amount of data back as acknowledgement, rather than rendering the user's entire site view. I am not a pmdev by any means, but isn't this at least possible?
Here are some areas which I think could benefit from the use of AJAX, if the server could handle them in a streamlined fashion (which is to say, by doing less processing and returning less data than a full page reload):
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: AJAX to reduce server load
by grinder (Bishop) on Mar 20, 2009 at 14:19 UTC | |
by mr_mischief (Monsignor) on Mar 23, 2009 at 14:04 UTC | |
|
Re: AJAX to reduce server load
by Fletch (Bishop) on Mar 20, 2009 at 13:08 UTC | |
|
Re: AJAX to reduce server load
by ruzam (Curate) on Mar 20, 2009 at 14:41 UTC | |
by bellaire (Hermit) on Mar 20, 2009 at 14:51 UTC | |
by ruzam (Curate) on Mar 20, 2009 at 15:54 UTC | |
by puudeli (Pilgrim) on Mar 20, 2009 at 19:11 UTC | |
by Your Mother (Archbishop) on Mar 21, 2009 at 00:14 UTC | |
by ruzam (Curate) on Mar 21, 2009 at 03:07 UTC | |
| |
by Anonymous Monk on Mar 23, 2009 at 12:41 UTC | |
|
Re: AJAX to reduce server load
by rhesa (Vicar) on Mar 21, 2009 at 10:44 UTC | |
|
Re: AJAX to reduce server load
by eric256 (Parson) on Mar 23, 2009 at 18:11 UTC | |
|
Re: AJAX to reduce server load
by SFLEX (Chaplain) on Mar 21, 2009 at 12:18 UTC | |
|
Re: AJAX to reduce server load
by Anonymous Monk on Mar 23, 2009 at 14:57 UTC | |
by bellaire (Hermit) on Mar 23, 2009 at 15:43 UTC |