Can anyone give example for this?

I have user dashboard with graphs and tables, maps.

It takes sometime to load after successful login.

For that , I need a loader which waits till the page loads all the data.

Recommended Answers

All 2 Replies

Are you using PHP on the server? If so, then you can load the data in the server, build the web page into a string variable, and then display it all with one output to the client. Remember, PHP is basically C++ for web servers. Most people misuse it terribly and massively intermix it with HTML, javascript, etc. with the expected results of crappy performance.

Member Avatar for diafol

Not sure about the issue unless we see relevant code. It could be due to graphic size, too many calls to css, scripts or unminified resources. Show code and if possible give link. What do console tools tell you?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.