actually, I want to know how an Angular 5 app loads and how many times it requests data from a server specifically when we move from one component to another component in one module.
Asked
Active
Viewed 32 times
0
-
You can check it out in `network` tab of any major browser. – Harun Yilmaz Jan 30 '19 at 08:09
-
I check and I found out that pictures load at first time a component loads and after that, the image doesn't load again, it looks like the image is somehow stored in local storage. – Habil Harati Jan 30 '19 at 09:27
1 Answers
-1
The picture or component will load when the component load if you don't use lazy loading strategy or another strategy all photo or component in project will load because;the server will load all component in project.
if you use lazy loading strategy then the picture or component will call when the component load .