Test ElastiCache configuration

: This guide assumes that you have deployed the Bitnami WordPress Production-Ready Stack solution with ElastiCache enabled.

This solution deploys an ElastiCache cluster with Memcached to improve performance by caching frequently-used objects. Using the W3 Total Cache plugin, it can be used to reduce the number of queries performed on the database, the rendered HTML pages and internal objects. Learn more about ElastiCache in the solution architecture.

To verify that the W3 Total Cache plugin is working correctly, follow these steps:

  • Log in to the AWS CloudFormation console.

  • Select the nested stack with name STACKNAME-WordPressStack-…-ElastiCacheStack (replace the placeholder STACKNAME with the actual stack name chosen when deploying the template) and click the “Outputs” tab in the lower panel.

  • Note the ElastiCache cluster endpoint, as shown below:

    ElastiCache Endpoint

  • Log in to the WordPress administration panel.

  • Browse to the “Performance -> General Settings” page.

  • Ensure that the “Database Cache” field is set to “Enable”.

    W3TC Memcached

  • Browse to the “Performance -> Database Cache” page.

  • The database cache should be enabled and the “Memcached hostname” field should point to the ElastiCache cluster endpoint you previously noted.

  • Click “Test” to ensure that everything is working as expected.

    W3TC Memcached

Last modification February 8, 2019