Our CloudTech team is back with some crucial plugins and command line tricks to optimizing your hosting solution.
1: P3 Profiler – It’s easy to overload your WordPress sites with plugins. Even installing a new theme can add unwanted plugins without you knowing. Since each plugin needs to write and query its own database, your site will slow down if you have too many. P3 Profiler evaluates your plugins to create a performance report, revealing your biggest slowdown culprits.
2: Zend OpCache and APCu – Optimizing your PHP is a great way to increase the performance of your sites and server. PHP 5.5 made this easy by having Zend OpCache and APCu a part of their core distribution. The installation guide above will show you how to use Zend OpCache to cache your opcode and utilize APCu to create an object-cache.
3: WP-CLI – If you feel comfortable with command lines, then WP-CLI is great for you. This is a command-line interface that takes a more powerful stance at WordPress installations. You can handle all your admin functions in the command-line alongside tons of additional tasks you generally can’t do in admin, such as regenerating thumbnails, deleting subdomains, and more.
4: MySQL Check – MySQL databases may be reliable, but tables can crash and become unresponsive. If you have a particularly large database, your best shot is to repair it via the command-line. This guide can show you how to repair and optimize your tables with MySQL command.
5: Command Line Backups – It maybe the oldest phrase in the industry: Always back up your site, especially before making any changes. While admin functionality and plugins are great for backing up most sites, if you have a large database, you may need to backup via command-line. This article available in our very own Community section details the steps to executing a command-line backup.
6: Be Prepared for Database Corruption – There’s no one cause for database corruption. If your InnoDB data is corrupted and you do not have a backup, your best bet is to save and extract the clean data while removing all corrupted data. Here’s a walkthrough for InnoDB corruption and recovery.
Thanks for CloudTech for their input on this article.
If you’re a Media Temple customer, be one of the first to tweet why you love hosting your site at media temple and tag @mediatemple in it to enter our t-shirt give away!