mirror of
https://gh.wpcy.net/https://github.com/szepeviktor/wordpress-website-lifecycle.git
synced 2026-04-24 05:09:10 +08:00
1.4 KiB
1.4 KiB
WordPress performance
How to achieve high performance in WordPress?
| Item | Tool | Speedup |
|---|---|---|
| Infrastructure | CPU, disk, web server, PHP (OPcache) and DNS | Overall performance |
| In-memory object cache | Redis, Memcached, APCu | options, post, post meta etc. |
| Plugins for administration (backup, DB cleanup) |
Use WP-CLI instead | Degrades performance |
| Theme and plugins | Cache-aware ones using object cache or transients | |
| Translations | tiny-translation-cache |
.mo file parsing |
| Navigation menus | tiny-nav-menu-cache |
wp_nav_menu() |
| Post content | tiny-cache |
the_content() |
| Template output | tiny-cache |
get_template_part() |
| Widgets | widget-output-cache plugin |
dynamic_sidebar() |
This list concentrates on WordPress core generating HTML code. Frontend loading (full page cache) is another topic.