Skip to content

Caching and Redis

Netkeel speeds up websites in two layers:

  • the page cache keeps finished pages and hands them straight to the next visitor;
  • the Redis object cache speeds up the pages the page cache can’t help with, such as admin screens, carts and logged-in visitors.

After changing content or design, clear the cache so visitors see the new version:

  • On the website’s overview, click Purge cache.
  • On any other section, open More and choose Purge cache.

The panel shows “Website cache purged” when it is done.

Go to Hosting › PHP and set Page cache to Enabled or No page cache. The change applies straight away. This option appears when the website’s server supports it.

Some pages must never be cached. Netkeel always skips these, and you can’t remove them:

  • WordPress admin and login
  • logged-in users
  • POST requests and previews
  • WooCommerce cart and checkout
  • WooCommerce account and session cookies

To add your own:

  1. Go to Hosting › Cache.
  2. Under Custom URL paths, type one path per line, starting with /, for example /members/. Each path also covers the pages under it.
  3. Click Save exclusions.

You can add up to 50 paths. Query strings and regular expressions aren’t accepted. Netkeel checks the web server configuration before applying the paths, then clears the website’s cache.

Go to Hosting › Redis. The status chip reads Active, Inactive or Unavailable.

Click the Redis object cache switch. When you turn it on, Netkeel installs the object-cache drop-in for WordPress. Turning it off asks you to confirm Disable Redis; the website keeps working, but dynamic pages may be slower.

Redis is shared by the websites on the server, and each website gets its own key prefix, so websites don’t see each other’s data.

While Redis is on, the Connection card shows the live connection details, such as status, socket path and key prefix. Netkeel manages these values. Click Re-check to read them again.

If the Redis Object Cache plugin has been deactivated in WordPress, the report is unavailable. Activate the plugin again under WordPress › Plugins.

Click Flush cache to empty this website’s object cache.

Leave a field empty to use the default, then click Save options:

  • Max TTL: the longest any cached item may live, in seconds. Empty means no limit.
  • Connection timeout and Read timeout: seconds to wait, from 0.1 to 30.
  • Ignored groups: cache groups to keep out of Redis, separated by commas.