LiteSpeed Cache provides powerful page caching on GARMTECH hosting (LiteSpeed Enterprise). For some websites, enabling an additional object cache can further reduce database load — especially on WooCommerce or large WordPress sites.
Object cache stores frequent database query results in memory. Common backends are:
Important: An object cache needs a running backend service. Having a PHP extension enabled is not the same as having a Redis/Memcached server available.
Step 1: Decide where your object cache will run
- VPS: you can install Redis/Memcached on your VPS and connect to
127.0.0.1 (recommended).
- Shared hosting: availability depends on the server/plan. If the backend is not provided, keep object cache disabled and rely on LiteSpeed page cache.
Step 2: Enable object cache in LiteSpeed Cache (WordPress)
- In WordPress Admin, open LiteSpeed Cache → Cache (or Settings).
- Find Object / Object Cache and set Enable to ON.
- Select the backend type (Redis or Memcached).
- Enter connection details (examples):
Example: Redis on a VPS
- Host:
127.0.0.1
- Port:
6379
- Password: only if configured on your server
Example: Memcached on a VPS
- Host:
127.0.0.1
- Port:
11211
Save settings and check the plugin status — it should show that the connection is established.
Common problems and how to fix them
- “Connection refused” / “Connection failed”: the service is not running, wrong host/port, or blocked by firewall.
- “Redis extension: disabled”: PHP extension is not enabled for your PHP version. Check Plesk → domain → PHP Settings.
- High CPU after enabling: disable object cache and rely on page cache; misconfigured object cache can create overhead.
When object cache is worth it
- Large WooCommerce sites with many uncached queries
- High-traffic sites that already have page caching enabled
- Sites with heavy admin/dashboard usage
Tip: Start with LiteSpeed page cache first. Object cache is an advanced optimization and should be enabled only when the backend is actually available and stable.