LiteSpeed Cache Profiles

Written by

in

LSCache Profiles for WordPress

Introducing LSCache Profiles for WordPress: the easiest way to optimize your website using Litespeed Cache

Litespeed Cache Profiles are a pre-tuned set of options, which can be used for optimizing any WordPress site using Litespeed Cache.

Choose Your Profile

Profiles come in 4 stages:

  1. Basic
  2. Advanced
  3. Aggressive
  4. Extreme

Basic

This profile has the bare minimum of features enabled, and is good for any website.

This profile sets the following:

  1. Default options enabled
  2. TTLs (Times to Live) set high
  3. Browser Cache enabled

Download Link – https://lscache.io/LSCWP_Profiles/LSCWP_Basic.data

Advanced

This profile has the safest options enabled, and takes a balanced approach to aggressiveness and optimization. It will work well with most WordPress and WooCommerce websites. A free Domain Key is required to use this profile.

This profile includes everything from the Basic Profile, plus enables the following settings:

  1. Image Optimization for all Images in the Media Library (both Original and WebP)
  2. CSS, JS and HTML Minification
  3. CSS & JS HTTP/2 Push
  4. Font Display Optimization
  5. JS Defer for both external and inline JS
  6. DNS Prefetch for static files
  7. Gravatar Cache
  8. Remove Query Strings from Static Files
  9. Remove WordPress Emoji

Download Link – https://lscache.io/LSCWP_Profiles/LSCWP_Advanced.data

Aggressive

Fairly experienced WordPress Administrators should be able to use this profile, though testing is a must. Because of its aggressive nature, you might be required to exclude a few resources from CSS/JS Combine, and you might need some advanced configuration for Critical CSS and Localization. A free Domain Key is required to use this profile.

This profile includes everything from the Advanced Profile, plus enables the following settings:

  1. CSS & JS Combine
  2. Asynchronous CSS Loading with Critical CSS
  3. JS Localization with most commonly used 3rd party JS
  4. Lazy Load for Iframes

Download Link – https://lscache.io/LSCWP_Profiles/LSCWP_Agressive.data

Extreme

This profile includes ESI which can supercharge your WooCommerce store. It might require some help from a developer to integrate ESI properly. In addition, some images like Logos and slider images might require exclusions from Lazy Load. A free Domain Key is required to use this profile.

This profile includes everything from the Aggressive Profile, plus enables the following settings:

  1. LazyLoad for Images
  2. ESI

Download Link – https://lscache.io/LSCWP_Profiles/LSCWP_Extreme.data

Applying a Profile

Navigate to Litespeed Cache > Toolbox > Import/Export and back up your current settings by pressing the Export button.

Apply the downloaded profile by using the Choose File option. Click Import to upload and apply the new settings.

Note: Changing profiles currently also resets your Domain Key. We plan to fix this in a future release, but until then, please navigate to the General section, and click on Refresh Domain Key to get your updated domain key.

Frequently Asked Questions

I am new to Litespeed Cache, which profile should I apply?

We recommend using the Advanced Profile as it takes a balanced approach to Optimization and Speed, and you shouldn’t need to manually tweak any settings. That said, if you experience difficulty, you can always revert to your previous settings, or try the Basic Profile.

Can I modify Litespeed Cache settings after setting up this profile?

Yes, it is absolutely possible to edit any options after applying this profile. Profiles are just an easy way to give you a good base optimization to start with. Most complex websites will need more fine-tuning to achieve their best possible score.

If my website breaks after applying a profile, Is it possible to change back to the setting I was before?

Yes, but only if you have previously saved a backup of your settings as instructed. A backup will provide you with a config file of your own website, which you can restore later if needed. Alternatively, you can always use the Basic Profile, which has the default settings.

How should I get more fine-tuning specifically for my website?

You can start with the Advanced Profile, and then go through the options in the Page Optimization section to see what more you’d need. Then try to enable them one-by-one to get the best for your website. You can also order our Paid Support Service to have LiteSpeed do the optimization for you.

Are there any known bugs?

Yes. The Domain Key removes itself when you apply a new profile, and requires you to manually refresh your domain key from the General settings. We plan to patch this issue in an upcoming version.

Comments

10 responses to “LiteSpeed Cache Profiles”

  1. Pallavi Avatar

    Great share! Thank you Shivam.

  2. Krzysztof Maciejewski Avatar
    Krzysztof Maciejewski

    Thanks for that!

  3. Andre Barnard Avatar

    Hey SHIVAM SALUJA,

    Thanks for sharing this, but there is one issue, I am not able to download the Profiles in the Post (Basic/Advanced …)
    The links don’t trigger download.

    1. Lisa Clarke Avatar
      Lisa Clarke

      Thanks for letting us know about this. I have fixed the links and you should be able to download now. Apologies for the inconvenience!

      1. Andre Barnard Avatar

        Brilliant thank you Lisa 🙂

        And no need to apologize.

  4. Senthilkumar Avatar
    Senthilkumar

    Thanks. I applied the Advanced profile. Also I generated a new domain key. Should I click “Link to QUIC” button or just leave it? Please advice.

    1. Lisa Clarke Avatar
      Lisa Clarke

      If you have a QUIC.cloud account, or if you want to create one, then yes, click the button. It’s not required, though. You can still use the QUIC.cloud services anonymously, but you won’t have the benefit of the QUIC.cloud dashboard where you can monitor your usage and purchase extra quota/bandwidth if the free quota is not enough for your site.

  5. Raj Avatar

    Useful for me thank you

  6. Kuotiva Avatar

    Hello there,

    I have a wordpress site about quotes, I want to know if setting up wordpress multisite on apache is the same as setting up wordpress multisite on litespeed or not?

    Are there any additional settings?

    1. Lisa Clarke Avatar
      Lisa Clarke

      Hello. I believe it should be mostly the same, except that you will need to enable caching at the server level. Our documentation should walk you through that, and if you encounter any problems, feel free to email support@litespeedtech.com to open a ticket.

Leave a Reply

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