-
Notifications
You must be signed in to change notification settings - Fork 53
Description
What
Add support for PHP object caching extensions within WordPress Studio:
- Memcached (
php-memcached) - PhpRedis (
php-redis)
These extensions are required by popular object caching plugins like Redis Object Cache and W3 Total Cache to enable persistent object caching in WordPress.
Why
Object caching is a critical performance optimization used in production WordPress environments. Many hosting providers (including WordPress.com, Pressable, WP Engine, Pantheon) offer Redis or Memcached for object caching.
Without these extensions in Studio, developers cannot:
- Test object caching behavior locally before deploying to production
- Debug caching-related issues that only manifest with persistent object cache enabled
- Develop and test object cache drop-ins (e.g.,
object-cache.php) - Ensure plugin/theme compatibility with cached environments
Given Studio Sync's integration with WordPress.com and Pressable (which offer object caching), having these extensions would allow more accurate local replication of production environments and bring Studio closer to feature parity with tools like Local by Flywheel, DevKinsta, DDEV, and Lando.
How
Possible implementation approaches:
- Built-in toggle in site settings to enable object caching extensions
- Local Redis/Memcached service bundled or optionally installable alongside WordPress Playground
- Configuration option to connect to an external Redis/Memcached server running on the host machine
No mockups available, but the feature could potentially be exposed as a checkbox or toggle in the site settings panel similar to how PHP version selection works.