R
R
Roman2017-02-02 08:18:18
Web development
Roman, 2017-02-02 08:18:18

Progressive loading web application: tutorials?

Good afternoon.
Prompt materials on progressive loading of web applications and testing the speed of loading and rendering of the site.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2017-02-02
@xmoonlight

It is better to load what should form the display in one thread, i.e. load from sections. Everything else (according to user events) is better to load via ajax without reloading the SPA application page.
For example, I load a page/block with information on a click in a menu item using includeHTML (loading from the "storage" sections of the current page - will be added soon).
And what needs to be downloaded immediately - I download the content on the server in the same stream, i.e., in the body of the SPA application page itself.
Download speed can be tested here: https://webpagetest.org/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question