Posts Tagged ‘apache’

Optimizing Wordpress for Best Performance

Wordpress users have always had problems with their blog not loading when their blog posts have been dugg. Because of the very high traffic the blog goes down with MySQL errors, PHP errors etc.. But Wordpress is a powerful blogging engine and you can take it to any levels you wish.. I am going to talk about how you can optimize your wordpress blog so that it can withstand any kind of load.. This topic has been widely debated in the past so i’ll just do a brief rundown to what has already been discussed and then pass over to tips that haven’t really been discussed so far.

  • Reduce DB Calls
  • Remove Plugins which are not in use
  • Use WP-Cache

While these tips are pretty much enough for everybody, but in case you want to extract that extra bit of juice from your wordpress blog then read on..


  • Compress your Stylesheet and Javascript

First make a copy of the both the Javascript and CSS files and save with an extension php. Once you have done that your header.php will look something like this.

Before
<link rel="stylesheet" type="text/css" media="screen" href="/style.css"/>
<script type="text/javascript" src="js/prototype.js"></script>

Read More