SlideShare una empresa de Scribd logo
1 de 11
Descargar para leer sin conexión
FASTER
WordPress
Optimize WordPress performance
About me and the company
Dat 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 trash
Define this line in wp-config.php
define('EMPTY_TRASH_DAYS', 10 );

3. Cleanup database
Log 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 links
1. 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-faster
4. http://premium.wpmudev.org/blog/11-ways-to-makeyour-wordpress-site-faster-and-leaner/
5. http://www.wpactions.com/843/how-to-make-yourwordpress-site-faster/
6. http://www.cloudproviderusa.com/5-basic-tips-howmake-your-wordpress-site-faster/
Big Thanks!
Dat Hoang
Community & Support Vietnam
E: dat.h@icanlocalize.com
W: wpml.org | wp-types.com | icanlocalize.com
Saigon, March 1, 2014

Más contenido relacionado

Destacado

Houlihan Smith Asset Manager Brochure
Houlihan Smith   Asset Manager BrochureHoulihan Smith   Asset Manager Brochure
Houlihan Smith Asset Manager Brochurenyates
 
Design Patterns in PHP
Design Patterns in PHPDesign Patterns in PHP
Design Patterns in PHPBiju T
 
If i hadmylifetoliveover
If i hadmylifetoliveoverIf i hadmylifetoliveover
If i hadmylifetoliveoveramy_seah
 
Modulating fracture properties of mixed protein systems
Modulating fracture properties of mixed protein systemsModulating fracture properties of mixed protein systems
Modulating fracture properties of mixed protein systemsIrene ter Laak
 
For Growing Height
For Growing HeightFor Growing Height
For Growing Heightmannheimag
 
”Sverige 2030”, SCBs presentationsbilder vid TCO-seminarium 2014-01-28 #10000...
”Sverige 2030”, SCBs presentationsbilder vid TCO-seminarium 2014-01-28 #10000...”Sverige 2030”, SCBs presentationsbilder vid TCO-seminarium 2014-01-28 #10000...
”Sverige 2030”, SCBs presentationsbilder vid TCO-seminarium 2014-01-28 #10000...VIRGOkonsult
 

Destacado (9)

Houlihan Smith Asset Manager Brochure
Houlihan Smith   Asset Manager BrochureHoulihan Smith   Asset Manager Brochure
Houlihan Smith Asset Manager Brochure
 
Design Patterns in PHP
Design Patterns in PHPDesign Patterns in PHP
Design Patterns in PHP
 
If i hadmylifetoliveover
If i hadmylifetoliveoverIf i hadmylifetoliveover
If i hadmylifetoliveover
 
Modulating fracture properties of mixed protein systems
Modulating fracture properties of mixed protein systemsModulating fracture properties of mixed protein systems
Modulating fracture properties of mixed protein systems
 
Top 10-social-media-mistakes
Top 10-social-media-mistakesTop 10-social-media-mistakes
Top 10-social-media-mistakes
 
Korris national map corps
Korris national map corpsKorris national map corps
Korris national map corps
 
Hp printer
Hp printerHp printer
Hp printer
 
For Growing Height
For Growing HeightFor Growing Height
For Growing Height
 
”Sverige 2030”, SCBs presentationsbilder vid TCO-seminarium 2014-01-28 #10000...
”Sverige 2030”, SCBs presentationsbilder vid TCO-seminarium 2014-01-28 #10000...”Sverige 2030”, SCBs presentationsbilder vid TCO-seminarium 2014-01-28 #10000...
”Sverige 2030”, SCBs presentationsbilder vid TCO-seminarium 2014-01-28 #10000...
 

Más de Dat Hoang

WordPress Multilingual: Benefits and Considerations
WordPress Multilingual: Benefits and ConsiderationsWordPress Multilingual: Benefits and Considerations
WordPress Multilingual: Benefits and ConsiderationsDat Hoang
 
Going Global with WordPress Multilingual (WordCamp Denpasar 2016)
Going Global with WordPress Multilingual (WordCamp Denpasar 2016)Going Global with WordPress Multilingual (WordCamp Denpasar 2016)
Going Global with WordPress Multilingual (WordCamp Denpasar 2016)Dat Hoang
 
Gaining Customer Loyalty through Support - A Case Study on WPML Team
Gaining Customer Loyalty through Support - A Case Study on WPML TeamGaining Customer Loyalty through Support - A Case Study on WPML Team
Gaining Customer Loyalty through Support - A Case Study on WPML TeamDat Hoang
 
WordPress Internationalization, Localization and Multilingual - Do It Right
WordPress Internationalization, Localization and Multilingual - Do It RightWordPress Internationalization, Localization and Multilingual - Do It Right
WordPress Internationalization, Localization and Multilingual - Do It RightDat Hoang
 
WordPress News and #SaigonWordPress 2015 - Saigon WordPress - Jan 17, 2015
WordPress News and #SaigonWordPress 2015  - Saigon WordPress - Jan 17, 2015WordPress News and #SaigonWordPress 2015  - Saigon WordPress - Jan 17, 2015
WordPress News and #SaigonWordPress 2015 - Saigon WordPress - Jan 17, 2015Dat Hoang
 
WordPress Fresh News - Saigon WordPress - Nov 29, 2014
WordPress Fresh News - Saigon WordPress - Nov 29, 2014WordPress Fresh News - Saigon WordPress - Nov 29, 2014
WordPress Fresh News - Saigon WordPress - Nov 29, 2014Dat Hoang
 
Gaining Customer Loyalty Through Support - A Case Study on WPML Team
Gaining Customer Loyalty Through Support - A Case Study on WPML TeamGaining Customer Loyalty Through Support - A Case Study on WPML Team
Gaining Customer Loyalty Through Support - A Case Study on WPML TeamDat Hoang
 
WordPress and Opportunities for Students
WordPress and Opportunities for StudentsWordPress and Opportunities for Students
WordPress and Opportunities for StudentsDat Hoang
 
Scaling WordPress - Project Lana WordPress Team
Scaling WordPress - Project Lana WordPress TeamScaling WordPress - Project Lana WordPress Team
Scaling WordPress - Project Lana WordPress TeamDat Hoang
 
Introduction to WooCommerce
Introduction to WooCommerce Introduction to WooCommerce
Introduction to WooCommerce Dat Hoang
 

Más de Dat Hoang (10)

WordPress Multilingual: Benefits and Considerations
WordPress Multilingual: Benefits and ConsiderationsWordPress Multilingual: Benefits and Considerations
WordPress Multilingual: Benefits and Considerations
 
Going Global with WordPress Multilingual (WordCamp Denpasar 2016)
Going Global with WordPress Multilingual (WordCamp Denpasar 2016)Going Global with WordPress Multilingual (WordCamp Denpasar 2016)
Going Global with WordPress Multilingual (WordCamp Denpasar 2016)
 
Gaining Customer Loyalty through Support - A Case Study on WPML Team
Gaining Customer Loyalty through Support - A Case Study on WPML TeamGaining Customer Loyalty through Support - A Case Study on WPML Team
Gaining Customer Loyalty through Support - A Case Study on WPML Team
 
WordPress Internationalization, Localization and Multilingual - Do It Right
WordPress Internationalization, Localization and Multilingual - Do It RightWordPress Internationalization, Localization and Multilingual - Do It Right
WordPress Internationalization, Localization and Multilingual - Do It Right
 
WordPress News and #SaigonWordPress 2015 - Saigon WordPress - Jan 17, 2015
WordPress News and #SaigonWordPress 2015  - Saigon WordPress - Jan 17, 2015WordPress News and #SaigonWordPress 2015  - Saigon WordPress - Jan 17, 2015
WordPress News and #SaigonWordPress 2015 - Saigon WordPress - Jan 17, 2015
 
WordPress Fresh News - Saigon WordPress - Nov 29, 2014
WordPress Fresh News - Saigon WordPress - Nov 29, 2014WordPress Fresh News - Saigon WordPress - Nov 29, 2014
WordPress Fresh News - Saigon WordPress - Nov 29, 2014
 
Gaining Customer Loyalty Through Support - A Case Study on WPML Team
Gaining Customer Loyalty Through Support - A Case Study on WPML TeamGaining Customer Loyalty Through Support - A Case Study on WPML Team
Gaining Customer Loyalty Through Support - A Case Study on WPML Team
 
WordPress and Opportunities for Students
WordPress and Opportunities for StudentsWordPress and Opportunities for Students
WordPress and Opportunities for Students
 
Scaling WordPress - Project Lana WordPress Team
Scaling WordPress - Project Lana WordPress TeamScaling WordPress - Project Lana WordPress Team
Scaling WordPress - Project Lana WordPress Team
 
Introduction to WooCommerce
Introduction to WooCommerce Introduction to WooCommerce
Introduction to WooCommerce
 

Último

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 

Último (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 

Optimize your WordPress sites

  • 2. About me and the company Dat Hoang ● Community & Support of OnTheGoSystems ● Marketing Online OnTheGoSystems ● WPML ● Toolset plugins ● ICanLocalize
  • 3. Agenda ● Easy-to-go tips ● Tips for database ● Advanced tips ● Discussion
  • 4. Easy-to-go tips ● Update WordPress core ● Resize images ● Enable gzip or zlib ● Delete unused plugin
  • 5. 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);
  • 6. Tips for database 2. Automatically empty trash Define this line in wp-config.php define('EMPTY_TRASH_DAYS', 10 ); 3. Cleanup database Log in phpMyAdmin -> Select your blog tables -> Click ‘repair’ button -> Click ‘optimize’ button
  • 7. 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
  • 8. Troubleshoot more problems ● Debug Queries ● P3 (Plugin Performance Profiler) ● Google Page Speed Insights
  • 10. Reference links 1. 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-faster 4. http://premium.wpmudev.org/blog/11-ways-to-makeyour-wordpress-site-faster-and-leaner/ 5. http://www.wpactions.com/843/how-to-make-yourwordpress-site-faster/ 6. http://www.cloudproviderusa.com/5-basic-tips-howmake-your-wordpress-site-faster/
  • 11. Big Thanks! Dat Hoang Community & Support Vietnam E: dat.h@icanlocalize.com W: wpml.org | wp-types.com | icanlocalize.com Saigon, March 1, 2014