wordpress icon indicating copy to clipboard operation
wordpress copied to clipboard

How to achieve high performance in WordPress?

Open szepeviktor opened this issue 8 years ago • 2 comments

Item Tool Speedup
Infrastructure CPU, disk, web server, PHP and DNS Overall performance
In-memory object cache Redis, Memcached, APCu options, post, post meta etc.
Server-side functionality plugins
(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()
Widgets widget-output-cache plugin dynamic_sidebar()

You run already on UpCloud - which is the best cheap enterprise-grade provider - and using Redis. https://github.com/szepeviktor/wordpress-speedtest

Please consider testing the Tiny cache family: https://github.com/szepeviktor/tiny-cache

szepeviktor avatar Jul 30 '17 18:07 szepeviktor

So the Tiny cache family requires the theme code to be edited, in order to wrap content calls with your library? The installation instructions seem a bit unclear.

You have a lot of interesting stuff in your repos. My favorite is https://github.com/szepeviktor/debian-server-tools :)

ottok avatar Aug 24 '17 19:08 ottok

requires the theme code to be edited,

Only one of the sisters need code modification: the post content cache. It is very sad that the_content() cannot be properly hooked.

The other two need only copying the MU plugin file in place.

szepeviktor avatar Aug 24 '17 19:08 szepeviktor