i have a general question : is loading data via Ajax totally faster than loading the whole page to grap data regardless of page size(external elements like images,css file,js file ...) ?
As already mentioned, using AJAX methods, lets you avoid reloading most of the page, including the scripts, styles and images even though the AJAX request and response may not be any faster.
It is also important to note that a slick, subtley animated modern AJAX interface often feels much faster than it is to the user. Reloading the page, seems to have the effect of resetting something in the brain, whereas just updating the relevant parts of a page in a smooth way makes everything just 'flow' together.
Very subjective, I know. Any good designer probably has a better way of explaining it.
@Spender is correct, but the main reason is that you do not re-grab the images, css, js and any other asset of the page. The request itself may or may not be faster but the final rendering is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With