Slow loading of pages


Topic: Slow loading of pages

nedzeplin pro asked 7 years ago

I have put together a very bare-bones project using Angular MDB Pro.  It is not calling any http api calls yet.  All I have is a register page and a login page, taken from the "admin pro" package.  Both pages take a whopping 5 seconds to load, and they only have 3 or 4 input boxes, with no background images. Even when the pages have loaded once,  you would think that their content has been cached, but when I hit the refresh button, it still takes 5 seconds to load.  Is there some scripting that executes as part of MDB template loading?  Is there some way to improve this load time?  

Damian Gemza staff answered 7 years ago

Dear nedzeplin, Please check your browser console -> network tab which elements took so long to load. Also please read more about Angular Universal (Server-Side Rendering). It renders the whole page on the server which improves page load speed. We're compatible with Universal, so you can read our tutorial how to make a project using SSR: https://mdbootstrap.com/angular/angular-universal/ Best Regards, Damian
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No