Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make my web page load faster?

Assuming an empty browser cache - How can I make a web page load faster by only applying HTML/CSS/JavaScript code changes?

Meaning, don't recommend moving servers, using a CDN, etc. Just code changes to make it load faster.

like image 737
TimJK Avatar asked Aug 18 '09 02:08

TimJK


People also ask

Why is it taking so long for web pages to load?

Some of the other common causes of the problem with slow web browsing or web browser taking a long time start could be: Cluttered temporary Internet files. Malware infection. Unwanted browser add-ons or extensions.


1 Answers

Move your JS and CSS out of the HTML and into one minified file for each. Also, reduce the size of any images, if you can. I didn't notice any rollover images, but if you have them, consider CSS sprites.

like image 70
Matt Grande Avatar answered Sep 21 '22 14:09

Matt Grande