Skip to content
xYnta
Go to websitexynta.com
Search
EN

Installing LiteSpeed Cache on your WordPress website

Updated on

All our hosting packages run on LiteSpeed web servers. With the LiteSpeed Cache plugin, your WordPress website makes the most of this: pages are kept in the cache and load faster. With WordPress Hosting, we set up LiteSpeed Cache for you free of charge after your order (see WordPress Hosting).

  1. Log in to WordPress

    Go to https://yourdomain.nl/wp-admin and log in.

  2. Install and activate the plugin

    In the menu on the left, under Plugins, click Add Plugin, search for LiteSpeed in Search Plugins, click Install Now next to LiteSpeed Cache and then Activate.

  3. Connect QUIC.cloud (optional)

    QUIC.cloud is LiteSpeed's online service for image optimisation and a CDN, among other things, with a free monthly quota. You do not need it for caching. If you want to use it, click General under LiteSpeed Cache and then Enable QUIC.cloud services, and follow the steps to create and connect an account.

  4. Choose a preset

    Under LiteSpeed Cache, click Presets. If you connected QUIC.cloud, click Apply Preset for Advanced (Recommended). Without QUIC.cloud, choose Essentials: the other presets require a QUIC.cloud connection.

  5. Switch on Redis object caching

    Under LiteSpeed Cache, click Cache and then the Object tab. Set Object Cache to ON, choose Redis at Method and fill in Host and Port:

    packageHostPort
    WordPress Hostinglocalhost6379
    Web Hosting and Reseller Hostingthe path under Path to redis socket file in DirectAdmin (ends in /.redis/redis.sock)0

    With WordPress Hosting, Redis is already available; according to xYnta, it is shielded per customer. With Web Hosting and Reseller Hosting, first switch on Redis in DirectAdmin: see Enabling Redis caching.

  6. Save the settings

    Click Save Changes. On the Object tab, Connection Test then shows Passed.

Your website now uses LiteSpeed Cache and Redis object caching. It can take a few hours before the cache is fully built. This is a basic setup; it works well for most websites, but you can fine-tune the settings afterwards.

Video

Installing LiteSpeed CacheYouTube

Related articles