Re: Is AJAX a heavy framework?

[email protected] (Denodster) Sun, 17 Dec 2023 20:30:00 -0500
Newsgroups alt.comp.lang.javascript
Organization A noiseless patient Spider
Message-ID <[email protected]>
In article <[email protected]>, Angel
<[email protected]> wrote:

> What do you mean by that ?
> 
> The way I see it, it is not heavy at all.
> 
> If You use Jquery library ajax, then this will be slower, because Jquery is=
>  about 50KB.
> 
> 
> *******************************
> Angel
> 
> 
> Mike kirjutas P=C3=BChap=C3=A4ev, 15. oktoober 2006 kl 11:11:41 UTC+2:
> > Hi
> > I've read about AJAX and is fairly impressed by what it can do for me, an=
> d=20
> > I'm considering using it. However i've heard that using the AJAX framewor=
> k=20
> > slows the loadtime of the site because the framework is rather heavy. Is=
> =20
> > there any thuth to this?
> > Thanx
> > Mike

Most browsers support fetch() these days.

/******/
fetch("http://example.com").then((response) => {
  return response.json()
}).then((jsonObject) => {
  //do things with jsonObject
}
/******/