The settings on this tab allow you to control an external object cache (Memcached, LSMCD, or Redis). ESI is useful for things like shopping cart widgets and personalized greetings, but we’ve left it disabled by default. “Edge Side Includes” (ESI) is a method through which you can “punch holes” in public content, and fill them with private or uncached content. We cover these in-depth in the Screen-by-Screen Cache section documentation. The rest of the Cache tabs (four or five, depending on whether you have WooCommerce enabled) cover more advanced types of caching. They are provided to allow you to make custom exceptions to the cache rules. Again, for most sites, there will be no need to change these settings. These options allow you to exclude specific parts of your site from being cached. You may have pages that you don’t want cached at all. These settings give you an opportunity to adjust the rules to fit what is needed by your site. If you write a new post, tag it “brownies,” and publish it in the “recipes” category, several pages will change: the home page, the recipes category archive page, the brownies tag archive page, your author archive page, and probably some other pages, depending on your theme.Īll of the affected pages will need to be purged in order to avoid serving stale content. The default selections should work for most sites, but you can change them if you need to. This section allows you to define the rules for that behavior. There are sometimes situations where pages should be purged before their natural expiration. It’s written at a high-level, so you can get the gist without knowing a lot of jargon. If you would like a deeper understanding of how content is cached and purged, take a look at this blog post. We’ve chosen default TTLs that should work for most sites, but you are free to change them. Once a page reaches its TTL, it is purged from cache. TTL stands for “Time to Live” and it refers to the number of seconds a page can remain in cache before it is considered stale. If you don’t know what these settings do, it’s best to leave them set to their defaults. The remaining settings allow you to decide what types of content will be cached. The first option on the Cache tab turns the caching functionality on and off. For a detailed explanations of each setting on each tab of the Cache section, please see the Screen-by-Screen documentation. Beginner’s Guide to LiteSpeed Cache for WordPress These are the most basic settings for your cache. Still reading? Ok! Let’s look at the first four tabs in the Cache section, and see what they do. There’s no need to read it now, though! Use the default settings, bookmark the version of this post that exists in the documentation (which we will keep updated through each plugin version), and check it when you need the reference. In the event that you want to tweak things a bit, it doesn’t hurt to have a rudimentary understanding of these things. TL DR: This is a very long post, but that’s only because I set out to explain every single basic setting for you. We specifically chose the default settings to work with the majority of sites right out of the box. You could stop right there, never configure another setting, and the plugin would probably cache your site very nicely. If you navigate to LiteSpeed Cache > Cache > Cache you will see that Enable Cache is set to ON. Upon activation, you’ll find that caching is enabled, but everything else is disabled. You are free to enable the caching functions and ignore everything else. Most people who install LSCache do so for the caching functions, and the rest is just the icing on the cake. LSCWP essentially has two purposes: that of a full-page cache for your site’s dynamically-generated pages, and that of a site-optimization plugin. I’ve installed and activated LSCache for WordPress. We’ll go over the things you must know in order to successfully use the plugin, and tell you which settings you can safely ignore. Today we are going to talk about setting up LSCWP simply and easily. Well, if you are part of the latter camp, you’ve come to the right place. Some people are invigorated by the site of all of those settings tabs and are eager to jump right in, while others find all of the options overwhelming, and are paralyzed with indecision. So you’ve downloaded the LiteSpeed Cache for WordPress plugin, installed it, and activated it. Please refer to our documentation for the latest! If you are using a newer version of the plugin, some details may have changed. Today’s Topic: Beginner’s Guide to LiteSpeed Cache for WordPressĭisclaimer: The information contained in this post is accurate for LSCWP v5.5. Welcome to another installment of WordPress Wednesday!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |