The following are some tips to ensure your web page loads faster without timing out:
1. Keep your image files small in size and keep the number of image loads/calls to a minimum.
2. Minimize the number of connections to external sites/locations. If you need to make such external connections, leave them to the bottom of your web page. For instance, with Google Analytics, it is suggested that the code be placed directly before the closing </body> tag. One of the reasons
for this is that if there is a problem trying to load anything from
Google, it is the last thing that is loaded on the site therefore it
does not interfere with the loading of everything else.
3. If your web site is based on a CMS, blog, or online store application, minimize the number of components and/or plugins installed.
4. If you are running any resource intensive scripts or applications on one website, all other websites residing on the same hosting account will be impacted as well.