When I look through the photos of VKontakte, they are viewed, you can say, instantly (that is, I clicked “next” and now it is open, no delays). At the same time, the browser clearly uploaded a new page, plus changed the address.
At first I thought that just ajax-ohm was loading several at once, and they were scrolling, but there wasn’t. The address is changing, the page is loading. How is this happening so fast?
I looked into the code, there is little that is clear to me (I don't know much about javascript). In general, I saw ajax.post. Well, ok, ajax, but because the page is loading, the address is changing. Ajax does not do this. Unclear.
Who knows, please explain.