Object Cache

Settings

↑ Back to top

The settings in this section apply to the Object Cache integration of the WooCommerce Product Search extension.

You will find these settings on your WordPress dashboard, go to WooCommerce > Settings > Search > Cache > Object Cache

  • Enabled – Check this box to enable the Object Cache.

The Object Cache integration uses the underlying cache mechanism of the WordPress object cache.

We only recommend to use this alternative if other caching methods are not available and only if a third-party or external cache plugin is used. If the WordPress object cache is not backed by a third-party or external cache plugin, this integration should be disabled.

If your deployment allows it, we recommend to use Redis or Memcached and the built-in File Cache instead. For those cases where these options are not available, or not viable due to limitations of the environment in which your site is hosted, the Object Cache can still be a valid alternative. However, the considerations outlined below should be observed.

  • If your external or third-party cache plugin already relies on Redis or Memcached, we recommend to use our direct integrations with these systems instead.
  • If your external or third-party cache plugin uses disk caching for the object cache, we recommend to use our built-in File Cache instead.
  • If the WordPress object cache is not backed by an external or third-party cache plugin that supports object caching, you should disable the Object Cache integration.

The Alternative for Hosting Limitations

↑ Back to top

For sites hosted on WP Engine, the File Cache is disabled and the Object Cache is enabled by default. This is because functional and file permissions imposed by WP Engine will not allow the File Cache to operate and maintain its structures properly. WP Engine’s own object cache must be enabled to take advantage of the integration.

Sites that are hosted in similar environments may benefit from a similar configuration.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.