Optimize your WordPress page loading times with a simple tweak
I have recently enchanced my WordPress optimization guide with seven new tips and one of them includes moving your JavaScripts to footer of the page when possible. Why is this important?
When the browser loads the page, it loads the files as they appear meaning, your html, then css, images etc. If the javascript code is in the header, they will load before any of the other files listed below them. Since most JavaScript code is ready to execute only when the page is fully loaded, it makes sense to move all JavaScript code to the footer.
The page will load in similar amount of time, but the user will have the impressions of the page loading faster as all relevant visual elements are loaded first.
This practice is also confirmed by Yahoo Extreme Web Performance team.
So what I did is I created a plugin that will move all the properly configured JavaScript code to the footer.
Here is the link to the plugin page: Footer JavaScript WordPress plugin.
About this entry
You’re currently reading “Optimize your WordPress page loading times with a simple tweak,” an entry on Vladimir Prelovac site, published: Tuesday, December 2nd, 2008
-
Check more articles like this:
- Optimize WordPress page loading time with PHP Speedy and WP Super Cache
- 5 cool WordPress plugins you never heard about
- Show me Options and Snazzy Archives plugins release
-
Write a comment.
-
Get my newsletter, RSS feed or twitter.
Hi! My name is Vladimir Prelovac. I am a computer engineer by profession and an adventurer by state of mind.
7 comments, newest first
Jump to main menu | Jump to comment form | Toggle comments