Page 1 of 1

Page size variation between ajax and non-ajax webpages

PostPosted: Wed Oct 22, 2014 2:05 pm
by MasonT
Good afternoon:

Page size AJAX vs. non AJAX.

What can you enlighten me about the variations between to the two?

Thanks

Re: Page size variation between ajax and non-ajax webpages

PostPosted: Thu Oct 23, 2014 9:19 am
by eValid
MasonT wrote:Good afternoon:

Page size AJAX vs. non AJAX.

What can you enlighten me about the variations between to the two?

Thanks


Thanks for posting MasonT.

We assume you mean "page size" in terms of number of bytes that need to be downloaded.

We know that to say "it depends on the page" doesn't answer your question at al.

Broadly speaking, web pages are passive (non-AJAX) or active (AJAX) and in most cases a passive page will be considerably smaller than one that includes AJAX coding.

But there are exceptions, of course. A page that has a lot of images will be much larger than one that is simple text. Images take more bytes than text.

Also, it depends on the device being served. To show you what we mean, take a look at this page:

http://www.e-valid.com/Products/Documen ... shots.html

It shows the same page downloaded to 20 different devices. The smallest delivered download size is 9.2 KB and th largest is 549.8 KB. That is a 59.76:1 ratio. About 60 times more data sent to an iPad-2 for that page (the top page of Amazon) than to a Blackberry Perl. (Note: Applies only on that particular day, for that particular edition of Amazon's top page).

This data doesn't even address whether or not there is AJAX code in the page. To really answer your question you have to specify the page in question.

However, you can use eValid to measure these kinds of facts, as shown in this video:

https://www.youtube.com/watch?v=N4-dYTnJP8I

eValid gets this kind of data for you in detail when you have the Detailed Timings option turned ON, from this eValid Settings Menu:

http://www.e-valid.com/Products/Documen ... utput.html

-- eValid Support