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

How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Último (20)

How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

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