Hi Chaw, I ususally use framework to do it. Framework takes care of it. I use nodejs framework like eggjs or express. for php i use laravel. They take care of this kind of things.
if you call data in app ,how make The data is not loaded again as to how it was moved from one screen to another, or if a scroll was made like in page view when you scroll the images not loaded again