Kevin Pirnie' Articles
- Home / Kevin Pirnie’s Articles / Theme Development
By: Kevin On: June 10, 2016
Posted In: Development Hosting Lemp Commander Linux nGinx Security Security Server Management Software Theme Development Ubuntu Updates Wordpress bash nano nginx shell shell scripting speed up the web web hosting wordpress performance
I have successfully managed to get around a 1 second load time on my Wordpress site, While getting 250 concurrent users over a 1 minute test period. (Source: https://webpagetest.org/result/210128_Di26_15d11aa18013d1df9ebc867e1aa9c2f3/) This was done with a combination of items, stemming from the server install up to Wordpress theme development. Here is how I did it, so maybe you can too. Server Setup Here we will start from the ground up. Items you will need: VirtualBox, Ubuntu 16.04 64b Server ISO, Time My virtual machine is setup with 4G of RAM, using 2 CPU's, with 80G SSD, and a Bridged Networking adapter Boot to the ISO, and start the installation process. Everything can be setup how you wish, however, I custom partitioned, as well as, only installed the… Read MoreBy: Kevin On: July 2, 2014
Posted In: Development Hosting MySQL PHP Plugins Theme Development Updates Wordpress design practices development php speed up the web web development wordpress wordpress performance
Post revisions This is a weakness of WordPress. On this site there are over 30,000 revisions for the 14,000 posts. That makes the table bigger and it's slower to search in it. WordPress users realized this three years ago. Tip #1 We backed up the the wp_posts table and then used a simple MySQL command to remove old post revisions. This decreased the table size from 400MB to 120MB: DELETE FROM `wp_posts` WHERE post_type = 'revision' AND post_date NOT LIKE '2012-%' Long-term solution There are WordPress plugins which can limit the number of revisions per post. We think that the WordPress code should be improved and the revisions should be stored in a different table to maximize speed. You can support this on WordPress bug… Read More