Click here to load reader
Upload
dat-hoang
View
327
Download
1
Embed Size (px)
DESCRIPTION
Your site has 200 visits per day, you don't need to take care about performance. But if your site reach 2000 visits per day, the speed of your site matters. Let's see tips from our team. We ues these tips for the busy traffic sites: http://wpml.org and http://wp-types.com. This presentation was on air in Saigon on March 1, 2014 in the event: + www.meetup.com/Saigon-WordPress/events/166516282/ + https://www.facebook.com/events/1411002305815823?refid=48
Citation preview
FASTERWordPress
Optimize WordPress performance
About me and the companyDat Hoang
● Community & Support of OnTheGoSystems
● Marketing Online
OnTheGoSystems
● WPML● Toolset plugins● ICanLocalize
Agenda
● Easy-to-go tips
● Tips for database
● Advanced tips
● Discussion
Easy-to-go tips
● Update WordPress core
● Resize images
● Enable gzip or zlib
● Delete unused plugin
Tips for database
1. No revision if you have no idea to use it● Delete current revision posts
DELETE a,b,c FROM wp_posts a WHERE a.post_type =
'revision' LEFT JOIN wp_term_relationships b ON (a.ID = b.
object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id);
● Disable revision in wp-config.php
define('WP_POST_REVISIONS', FALSE);
Tips for database
2. Automatically empty trashDefine this line in wp-config.php
define('EMPTY_TRASH_DAYS', 10 );
3. Cleanup databaseLog in phpMyAdmin -> Select your blog tables-> Click ‘repair’ button-> Click ‘optimize’ button
Advanced tips
1. Minify CSS and JS files○ WP Minify○ Better WP Minify○ WP-Compress-HTML
2. CDN (Content delivery network)○ Amazon S3, CloudFront○ MaxCDN
3. Caching plugins○ WordPress Super Cache: small sites, low traffic○ W3 Total Cache: big sites, high traffic, supporting
CDN
Troubleshoot more problems
● Debug Queries
● P3 (Plugin Performance Profiler)
● Google Page Speed Insights
Discussion
Reference links1. http://codex.wordpress.
org/WordPress_Optimization/WordPress_Performance 2. http://wpml.org/2012/01/can-your-site-run-faster/3. http://www.copyblogger.com/make-wordpress-faster4. http://premium.wpmudev.org/blog/11-ways-to-make-
your-wordpress-site-faster-and-leaner/5. http://www.wpactions.com/843/how-to-make-your-
wordpress-site-faster/6. http://www.cloudproviderusa.com/5-basic-tips-how-
make-your-wordpress-site-faster/
Big Thanks!Dat HoangCommunity & Support Vietnam E: [email protected]: wpml.org | wp-types.com | icanlocalize.com
Saigon, March 1, 2014