Knowledge Base

Making your site faster with LiteSpeed Cache

Your site runs on the LiteSpeed web server, which is considerably faster than Apache on its own and gets dramatically faster with caching turned on. Caching serves a ready-made copy of each page instead of rebuilding it for every visitor, which cuts load times and keeps you well inside your plan's CPU limits.

WordPress

  1. Install and activate the LiteSpeed Cache plugin (free, in the WordPress plugin directory; it is usually installed for you).
  2. Under LiteSpeed Cache > Cache, make sure Enable Cache is on. That alone does most of the work.
  3. Under Page Optimization, try enabling CSS and JS minification and Lazy Load Images. Check the site after each change; if something looks off, turn that option back off.
  4. Pro and Premium can add an object cache: under LiteSpeed Cache > Cache > Object, choose Memcached (Pro) or Redis (Premium) with the connection details shown in cPanel's LiteSpeed Web Cache Manager. This speeds up logged-in users, WooCommerce carts and the admin area.

WooCommerce, membership and other logged-in experiences are handled correctly: the plugin knows not to cache carts, checkouts and account pages.

Other sites

For non-WordPress sites, open LiteSpeed Web Cache Manager in cPanel to enable caching per domain. Static sites built with Sitejet are already as fast as they get.

If a change does not show up

Cached pages can lag a minute or two behind an edit. In WordPress, use Purge All in the LiteSpeed Cache toolbar menu. Development on a live site is easier with the cache temporarily off.

Please rate this article to help us improve our Knowledge Base.

0 0