Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Performance Tuning and Security Hardening using Drop-In and Must-Use Plugins by Sumpono Banuardinugroho

371 views

Published on

WordCamp Jakarta 2017 Session
Performance Tuning and Security Hardening using Drop-In and Must-Use Plugins
by Sumpono Banuardinugroho
#wcjkt

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Performance Tuning and Security Hardening using Drop-In and Must-Use Plugins by Sumpono Banuardinugroho

  1. 1. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Performance Tuning and Security Hardening using Drop-In and Must-Use Plugins WordCamp Jakarta, November 4th 2017
  2. 2. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin https://diditho.com PT Kompas Media Nusantara https://id.linkedin.com/in/diditho
  3. 3. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Topic •wp_option  Indexing •Drop-Ins Plugins •Must-Use Plugins
  4. 4. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Non Cached WordPress •Case  Kompas.id •Non (Page) Cached WordPress • 500 rpm ( ruby  response per minutes) • 6 request (page) / second •Content Commerce  PayWall • Edit Flow • WooCommerce
  5. 5. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Performance Tuning Options Table
  6. 6. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Non-cachePerformance Tuning • Index autoload field on wp_option table
  7. 7. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Non-cachePerformance Tuning •Index autoload field on wp_option table “ 3,5s  2s “
  8. 8. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Non-cache Performance Tuning •Index autoload field on wp_option table “ 2s  1.5s - 1s “ “ Manage Transient “
  9. 9. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Performance Tuning Drop-In Plugins
  10. 10. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Drop-In Performance Tuning •Drop-Ins Plugins • /wp-content/… . php • Some core functionality of the WordPress core can be replaced by so called Drop-Ins • ie: • advanced-cache.php • LudicrousDB
  11. 11. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Drop-In Performance Tuning
  12. 12. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin LudicrousDBDrop-InPerformance Tuning https://github.com/stuttter/ludicrousdb Write Read Read
  13. 13. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin LudicrousDBDrop-InPerformance Tuning WRITEREAD READ READ
  14. 14. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Performance Tuning Must-Use (MU) Plugins (Multi and single site )
  15. 15. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Drop-In Performance Tuning •Must-Use (MU) Plugins • /wp-content/mu-plugins/… .php • Always-on, automatically enabled on all sites in the installation • Loaded before all other regular plugins, and they can’t be deactivated.
  16. 16. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Must-UsePerformance Tuning
  17. 17. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Must-Use Performance Tuning •“Kill The Plugins” • Case 1 : • Editorial role do not need WooCommerce Plugins, only need Edit Flow. • Marketing role do not need Edit Flow Plugin, only WooCommerce. • Case 2 : • Not all page need all plugins. “Gravity Plugins” only need run on specific page.
  18. 18. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Must-Use Performance Tuning
  19. 19. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin DEMO
  20. 20. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Must-Use Security Hardening •“Protect” • Case 1 : • Limit user access by IP • Case 2 : • Limit user access by role
  21. 21. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Must-Use Security Hardening “ Protect your wp-admin by given access for specific ip “
  22. 22. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Must-Use Security Hardening Role Capabilities need “/pluggable.php” current_user_can(“editor”) …
  23. 23. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Must-Use Performance Tuning “ If user is logged in, deactivate cache plugin “
  24. 24. Performance Tuning and Security Hardening – Using Drop-In and Must-Use Plugin Thank You

×