Utilizing memcached (with php8.2-memcached) over localhost. We found a 5X improvement in speed from (15s to 3s) when viewing the events default view while logged in after enabling memcached in this way for The Events Ticktes/Calendar plugin when paired with WooCommerce.
Drop in object-cache.php
to /wp-content/object-cache.php
from:
https://github.com/Automattic/wp-memcached
- This script uses php8.2-memcache, not php8.2-memcached, but having both installed does not harm anything. They can both be installed safely.
/etc/mysql/mariadb.conf.d/50-server.cnf