When you encounter a technical problem with lazyload, you will enter the interview when you check the data, and you will not be able to record the location when you come back.

suppose I added the lazyload function
and first showed five figures

.
blog 1
blog 2
blog 3
blog 4
blog 5

when you slide down, there are another five pieces of data, which is no problem.

blog 1
blog 2
blog 3
blog 4
blog 5

lazyload blog 6
lazyload blog 7
lazyload blog 8
lazyload blog 9
lazyload blog 10

but suppose that when I enter a lazyload blog 10 , and then slide back (or press one button),
he will go back to the five articles that the lazyload has not started, instead of the blog 10 after lazyload
. How can this be improved? Or is there a legal agreement? Which article have I load to when I went back to the last post? I wouldn"t have to slide down again

When the

page is active, add an anchor point in real time according to the current location, you can solve


do you use vue or react framework? If you use it, when the page is redisplayed, you can be in the same position without loading the data.


lazyload is implemented at the front end in most cases, but HTTP is stateless by default. Once a new page is requested, things on the old page will be lost, unless the page state is stored separately, or the clicked content does not cross the page (for example, using a modal box)

Menu