Skip to content

Feature Request: Add support for PHP extensions required for object caching #2329

@shivapoudel

Description

@shivapoudel

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:

  1. Test object caching behavior locally before deploying to production
  2. Debug caching-related issues that only manifest with persistent object cache enabled
  3. Develop and test object cache drop-ins (e.g., object-cache.php)
  4. 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:

  1. Built-in toggle in site settings to enable object caching extensions
  2. Local Redis/Memcached service bundled or optionally installable alongside WordPress Playground
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions