Well every app is built different but you can follow some common strategies.
While answering your questions a ton of questions come to my mind, like how big your database is, is it a one page app or multi, how many workflows are triggered on certain actions, what page do when it loads, etc etc
So there are many different answers…
Firstly you need to look for the actual cause before looking for solutions