WpW: LSCache for WordPress for Everybody!

WordPress Wednesday: Using the LSCache plugin without a LiteSpeed Server

Written by

in

Using the LSCache plugin without a LiteSpeed Server

Welcome to another installment of WordPress Wednesday!
Today’s topic is: Using the LSCache plugin without LiteSpeed Web Server

Disclaimer: The information contained in this post is accurate for LSCWP v2.1 [release log]. If you are using a newer version of the plugin, some details may have changed. Please refer to our wiki for the latest!

Did you know that this is our 45th WordPress Wednesday article? Yep! We’ve been at it for nearly a year now. Often during that time, we’ve explored LSCWP’s inner workings. We’ve frequently repeated how closely-connected the plugin is to LiteSpeed’s web server products, and how the plugin just does not work without the server!

Well, surprise, surprise! This week marks a significant departure from that message…

The Big News

You no longer need a LiteSpeed Web Server to use LSCache for WordPress.

Wait, what?

Really. It’s true. We have taken some of the optimization features that are not related to caching, and made them available for use by anyone. No LiteSpeed server required.

You will still, of course, need a LiteSpeed server with the LSCache module enabled in order to use the page-caching features of the plugin. This goes back to what we have talked about many times before: LSCache is a server-level cache, and the plugin provides an interface which you can use to control that cache. This is still true.

But now we are welcoming users from all web server backgrounds to give LSCWP’s optimization features a try!

Welcome to LSCache for WordPress

Using the LSCache plugin without a LiteSpeed Server: Welcome to LiteSpeed

If you’re new here, Welcome! Here’s a handy guide to the LSCWP optimization features as of this writing.

The General Features may be used by anyone using any web server.

The LiteSpeed Exclusive Features continue to require a LiteSpeed server with the LSCache module enabled. (If you want to try these features, why not get a 15-day LiteSpeed Web Server trial license?)

General Features

  • Object Cache (Memcached/LSMCD/Redis)
  • Image Optimization (Lossless/Lossy)
  • Minify CSS, JavaScript, and HTML
  • Minify inline CSS/JS
  • Combine CSS/JS
  • Automatically generate Critical CSS
  • Lazyload images/iframes
  • Multiple CDN support
  • Load CSS/JS Asynchronously
  • Browser Cache
  • Smart preload crawler with support for SEO-friendly sitemap
  • Database Cleaner and Optimizer
  • PageSpeed score optimization
  • OPcode Cache
  • HTTP/2 Push for CSS/JS (on web servers that support it)
  • DNS Prefetch
  • Cloudflare API
  • Single Site and Multi Site (Network) support
  • Import/Export settings
  • Basic/Advanced setting view
  • Attractive, easy-to-understand interface
  • WebP image format support
  • Heartbeat control

LiteSpeed Exclusive Features

  • Automatic page caching to greatly improve site performance
  • Automatic purge of related pages based on certain events
  • Private cache for logged-in users
  • Caching of WordPress REST API calls
  • Separate caching of desktop and mobile views
  • Ability to schedule purge for specified URLs
  • WooCommerce and bbPress support
  • WordPress CLI commands
  • Simple API system for each cache integration
  • Exclude from cache by URI, Category, Tag, Cookie, User Agent
  • HTTP/2 & QUIC support (QUIC not available in OpenLiteSpeed)
  • ESI (Edge Side Includes) support (Not available in OpenLiteSpeed)

This list is subject to change in the future, so keep an eye on our wiki for the most current configuration. (All of these features, by the way, are documented in that wiki, too.)

Remember, the LiteSpeed Cache plugin for WordPress is free and open source. Download it and give it a try today!

Have some of your own ideas for future WordPress Wednesday topics? Leave us a comment!

Don’t forget to meet us back here next week for the next installment. In the meantime, here are a few other things you can do:

Comments

10 responses to “WpW: LSCache for WordPress for Everybody!”

  1. Jim Walker Avatar

    The staff here at TVCNet.com love LiteSpeed and the LSCache module to speed up or customers websites. Please keep up the great work!

    1. Lisa Clarke Avatar
      Lisa Clarke

      That’s so nice to hear! Thanks for commenting!

  2. Dee Avatar
    Dee

    Dear LS team,

    I have a question regarding the use of the LSCache plugin purely for integrating with an object cache such as Redis. I know it’s natively possible to interface with Redis however I’d like to know if it’s possible to purely utilise the plugin for that purpose only, without having other features enabled (and is it at all recommended).

    At this stage there’s only one maintained Redis plugin available on the wordpress plugin repo however expert feedback has had people run some comparisons and recommended LSC for Redis object cache management instead of the alternative.

    Would really appreciate some feedback here and any other recommendations.

    Many Thanks.

    1. Lisa Clarke Avatar
      Lisa Clarke

      Hi, Dee.

      Yes, you can disable all features except the object cache setting, and use it exclusively for that, if you wanted to. We don’t have any further recommendations along those lines, but it is definitely possible to use LSCache that way.

  3. MMOEFS Avatar
    MMOEFS

    I am getting this error:

    ” WARNING
    LSCache caching functions on this page are currently unavailable!

    To use the caching functions you must have a LiteSpeed web server or be using QUIC.cloud CDN. Learn More ”

    I am not sure if litespeed cache wp plugin works with no litespeed server!

    – any idea?

    thanks

    1. Lisa Clarke Avatar
      Lisa Clarke

      The LSCache plugin does work without a LiteSpeed server, but you don’t get the full set of features that way. You can use all of the optimization features, but you can’t use the caching features without a LiteSpeed server.

      One option, though, if you want to use the caching features, is to sign up for QUIC.cloud CDN. QUIC.cloud integrates with the LSCache plugin to let you use the caching features without having a LiteSpeed server.

  4. Alex Avatar
    Alex

    I tried WordPress LSCache, however, its `Add missing sizes` not working. I don’t have a LiteSpeed server but an apache. Is it possible to have this feature in non-ls systems?

    1. Lisa Clarke Avatar
      Lisa Clarke

      That feature should work with an Apache server. If it’s not working on your site, please post to our plugin support forum and provide as many details as possible about your setup. Thanks!

  5. Klenam Adodo Avatar

    Thanks for the information but I am facing “Uncached JavaScript and CSS files” on my website

    1. Lisa Clarke Avatar
      Lisa Clarke

      I’m sorry to hear that. Please open a ticket with our support team, if you’d like help with that. You can do it through email to support@litespeedtech.com.

Leave a Reply

Your email address will not be published. Required fields are marked *