Managing your Onyx site caching

Onyx offers both Nginx file caching and Redis database caching as standard.

WordPress installations on Onyx come with the Nginx helper and Redis Object Cache plugins pre-installed. If you've migrated your site to Onyx and these plugins are not installed, or they've been removed for some reason we have a guide on reinstalling the default plugins and other Onyx tools.

If you've migrated your site to Onyx from elsewhere, please be sure to disable and/or remove any other caching plugins as they may well interfere with your sites performance on the Onyx platform.

The cache features of Onyx can be managed from either the Onyx Dashboard, or from within your Wordpress site. Some options are only available from the Onyx dashboard and some only from WordPress, these are noted in the following instructions.

Caching is only one part of the optimisation process. Combining and minifying CSS & Javascript, along with image optimisation can all make a huge difference to a sites performance. We suggest using the LiteSpeed plugin - importantly, the caching component can be disabled, but the optimisation and tuning components all work very well. You'll even have access to the LiteSpeed image optimisation through the plugin. We have a separate article on installing the LiteSpeed plugin.

Manage caching from the Onyx dashboard

  1. You'll need to start by logging in to your Onyx dashboard.
  2. From your Onyx dashboard, click the Manage button for the site you'd like to access.
  3. From the Settings dropdown on the left click 'Caching'
  4. You'll now see the caching options available;
    1. Disable web caching - disables the Nginx web caching for this site (only available through Onyx dashboard)
    2. Purge full web cache - causes Nginx to fully purge the static file cache for this site
    3. Purge object cache - causes Redis to purge the database object cache
If you make changes whilst the cache is disabled and then re-enable it, please be to sure to 'Purge the full web cache' to ensure you're changes are shown correctly.

Manage caching from within WordPress

  1. You'll need to start from within your WordPress dashboard, either logging in to the site directly, or by logging in to Onyx (step 1 above) and then clicking the 'WordPress Admin' button from the bottom of the left hand menu.
  2. The cache controls within Wordpress are split in to three locations.
    1. From the main dashboard, in the top WordPress menu bar you'll see 'Purge Cache' - clicking this link purges the full web cache (Nginx file cache)

      From the 'Settings' menu on the left you can then click on either 'Nginx Helper' or 'Redis'
    2. Nginx Helper options

      From the 'Settings' menu on the left click 'Nginx Helper'

      The 'Purge Entire Cache' button here purges the full web cache (Nginx file cache)
    3. Redis options

      Flush Cache - flushes the Redis database object cache

      Disable Object Cache - disables the Redis object cache (only available through WordPress settings)



How did we do?


© onyx.io 2019