# Changes We should integrate Pantheon's Object Cache feature, which leverages Redis. See https://docs.pantheon.io/object-cache/drupal#drupal-93--composer-managed. In a nutshell: - Enable Redis for Pantheon site (`terminus redis:enable`) - Require `drupal/redis` - Include needed settings (see https://docs.pantheon.io/object-cache/drupal#drupal-93--composer-managed) via event `SiteSettingsFiles::class`. - Assuming DDEV, suggest installing the `ddev-redis` addon and incorporate any hardcoded settings to utilize locally. For an example of adding extension settings, see: https://github.com/digitalpolygon/polymer-pantheon-drupal/blob/0.x/src/Polymer/Services/EventSubscriber/DrupalEventsSubscriber.php#L18-L46
Changes
We should integrate Pantheon's Object Cache feature, which leverages Redis. See https://docs.pantheon.io/object-cache/drupal#drupal-93--composer-managed.
In a nutshell:
terminus redis:enable)drupal/redisSiteSettingsFiles::class.ddev-redisaddon and incorporate any hardcoded settings to utilize locally.For an example of adding extension settings, see:
https://github.com/digitalpolygon/polymer-pantheon-drupal/blob/0.x/src/Polymer/Services/EventSubscriber/DrupalEventsSubscriber.php#L18-L46