equitymidas
Forum Replies Created
-
Is there a way to lazy load (load it last) on the page?
It impacts the page load time. I want to avoid that. The content is required only when the user demands it, else it need not be loaded on the page at all. That is what a popup is , right?
Sorry for the late reply.
When the page is loaded and no link is clicked the popup content should not be loaded i.e. if we see the page source, the HTML should not include the content of the popups. But if you do check the page source, you will see the content of the popups preloaded i.e. loaded when the page gets loaded. This should not happen.
Thank you for the reply.
My implementation on the website is exactly per your recommendations. The popup content is still preloaded when the page loads.
Do note, I am not saying the popup becomes visible on page load. It does not. The content just gets preloaded on the page.