Boost your website’s speed

After adding your server and domain to ClusterCS, you might want to provide your website with a boost through our NGINX caching which will provide your website with fast loading speed and overall improvements of scores.

How to set up NGINX caching in ClusterCS in a couple of steps

After adding your server and domain to ClusterCS, you might want to provide your website with a boost through our NGINX caching which will provide your website with fast loading speed and overall improvements of scores.

We will consider an account with a successful server and domain setup which has an WordPress CMS installed on it.

STEP 1. Go to the “Speed” section for the domain you want to configure the caching to.

This section contains a rule based manager for splitting traffic between main servers (apache, lighttpd, NGINX). A concept new most likely for web server panels, this tool lets you use all those servers in parallel for the same domain, so you can can optimize your serving strategy.

STEP 2. Create the caching rule

When you use caching, you must be careful what you cache though. Some things need to remain dynamic.

With WordPress, 3 important things may cover most of the setups:

  • Don’t cache admin and pages for logged in users (dynamic personalized data for each user may be visible on those page) – WordPress maintains a cookie which is an indicator of this state – wordpress_logged_in
  • Don’t cache admin-ajax.php – this file is the main endpoint for ajax calls that usually need to happen without cache
  • Only cache GET requests – other types usually have important actions being carried and shouldn’t be lost
  • Don’t cache php files

STEP 3. Save Configuration

Don’t forget to Click the Save Rule button at the end.

Share the Post:

Related Posts