{"id":8606,"date":"2020-06-10T04:00:52","date_gmt":"2020-06-10T08:00:52","guid":{"rendered":"https:\/\/blog.litespeedtech.com\/?p=8606"},"modified":"2020-06-10T04:00:52","modified_gmt":"2020-06-10T08:00:52","slug":"wpw-the-beginners-guide-to-litespeed-cache-for-wordpress","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2020\/06\/10\/wpw-the-beginners-guide-to-litespeed-cache-for-wordpress\/","title":{"rendered":"WpW: The Beginner&#8217;s Guide to LiteSpeed Cache for WordPress"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lswp.store\/wp-content\/uploads\/2017\/11\/null-13.png\" alt=\"WordPress Wednesday: Beginner's Guide to LiteSpeed Cache for WordPress\" width=\"640\" height=\"320\" \/><\/p>\n<p>Welcome to another installment of <a href=\"http:\/\/blog.litespeedtech.com\/tag\/wordpress-wednesday\">WordPress Wednesday<\/a>!<br \/>\nToday&#8217;s Topic:\u00a0<strong>Beginner&#8217;s Guide to LiteSpeed Cache for WordPress<\/strong><\/p>\n<p><em><strong>Disclaimer<\/strong>: The information contained in this post is accurate for LSCWP v5.5 [<a href=\"https:\/\/wordpress.org\/plugins\/litespeed-cache\/#developers\">release log<\/a>]. If you are using a newer version of the plugin, some details may have changed. Please <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/overview\/\">refer to our documentation<\/a> for the latest!<\/em><\/p>\n<p>So you\u2019ve downloaded the LiteSpeed Cache for WordPress plugin, installed it, and activated it. Now what?<\/p>\n<p>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.<\/p>\n<p>Well, if you are part of the latter camp, you\u2019ve come to the right place. <strong>Today we are going to talk about setting up LSCWP simply and easily.<\/strong> We\u2019ll go over the things you must know in order to successfully use the plugin, and tell you which settings you can safely ignore.<\/p>\n<h2>I\u2019ve installed and activated LSCache for WordPress. Now what?<\/h2>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lswp.store\/wp-content\/uploads\/2017\/11\/null-3.jpeg\" alt=\"Beginner's Guide to LiteSpeed Cache for WordPress\" width=\"672\" height=\"448\" \/><\/p>\n<p>LSCWP essentially has two purposes: that of a full-page cache for your site\u2019s dynamically-generated pages, and that of a site-optimization plugin. Most people who install LSCache do so for the caching functions, and the rest is just the icing on the cake.<\/p>\n<p><em>You are free to enable the caching functions and ignore everything else.<\/em><\/p>\n<p>Upon activation, you\u2019ll find that caching is enabled, but everything else is disabled. If you navigate to <strong>LiteSpeed Cache &gt; Cache &gt; Cache<\/strong> you will see that <strong>Enable Cache<\/strong> is set to <code>ON<\/code>.<\/p>\n<p>You could stop right there, never configure another setting, and the plugin would probably cache your site very nicely. We specifically chose the default settings to work with the majority of sites right out of the box.<\/p>\n<p><strong>TL;DR: This is a very long post, but that\u2019s only because I set out to explain every single basic setting for you. In the event that you want to tweak things a bit, it doesn\u2019t hurt to have a rudimentary understanding of these things. There\u2019s no need to read it now, though! Use the default settings, bookmark <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/beginner\/\">the version of this post that exists in the documentation<\/a> (which we will keep updated through each plugin version), and check it when you need the reference.<\/strong><\/p>\n<p>Still reading? Ok! Let\u2019s look at the first four tabs in the Cache section, and see what they do. These are the most basic settings for your cache.<\/p>\n<h2>Beginner&#8217;s Guide to LiteSpeed Cache for WordPress<\/h2>\n<p><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/docs.litespeedtech.com\/imgs\/lscache\/lscwp\/lscwp-cache-basic.png\" alt=\"LiteSpeed Cache for WordPress Basic Cache Tabs\" width=\"1655\" height=\"430\" \/><\/p>\n<p><strong>Tip: This is a high-level overview. For a detailed explanations of each setting on each tab of the Cache section, please see <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/cache\">the Screen-by-Screen documentation<\/a>.<\/strong><\/p>\n<h3 id=\"cache-tab\">Cache Tab<\/h3>\n<p>The first option on the <strong>Cache<\/strong> tab turns the caching functionality on and off. The remaining settings allow you to decide what types of content will be cached. By default, everything is enabled. If you don\u2019t know what these settings do, it\u2019s best to leave them set to their defaults.<\/p>\n<h3 id=\"ttl-tab\">TTL Tab<\/h3>\n<p>TTL stands for \u201cTime to Live\u201d and it refers to the number of seconds a page can remain in cache before it is considered stale. Once a page reaches its TTL, it is purged from cache. We\u2019ve chosen default TTLs that should work for most sites, but you are free to change them.<\/p>\n<p>If you would like a deeper understanding of how content is cached and purged, <a href=\"https:\/\/lswp.store\/2017\/07\/19\/wpw-litespeed-caching-101\/\">take a look at this blog post<\/a>. It\u2019s written at a high-level, so you can get the gist without knowing a lot of jargon.<\/p>\n<h3 id=\"purge-tab\">Purge Tab<\/h3>\n<p>There are sometimes situations where pages should be purged before their natural expiration. This section allows you to define the rules for that behavior. The default selections should work for most sites, but you can change them if you need to.<\/p>\n<h4 id=\"example\">Example<\/h4>\n<p>If you write a new post, tag it \u201cbrownies,\u201d and publish it in the \u201crecipes\u201d 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.<\/p>\n<p>All of the affected pages will need to be purged in order to avoid serving stale content. These settings give you an opportunity to adjust the rules to fit what is needed by your site.<\/p>\n<h3 id=\"excludes-tab\">Excludes Tab<\/h3>\n<p>You may have pages that you don\u2019t want cached at all. These options allow you to exclude specific parts of your site from being cached. Again, for most sites, there will be no need to change these settings. They are provided to allow you to make custom exceptions to the cache rules.<\/p>\n<h2 id=\"the-other-cache-tabs\">The Other Cache Tabs<\/h2>\n<p>The rest of the Cache tabs (four or five, depending on whether you have WooCommerce enabled) cover more advanced types of caching. We cover these in-depth in the <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/cache\">Screen-by-Screen Cache section documentation<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/docs.litespeedtech.com\/imgs\/lscache\/lscwp\/lscwp-cache-other.png\" alt=\"LiteSpeed Cache for WordPress Other Cache Tabs\" width=\"1655\" height=\"430\" \/><\/p>\n<h3 id=\"esi\">ESI<\/h3>\n<p>\u201cEdge Side Includes\u201d (ESI) is a method through which you can \u201cpunch holes\u201d in public content, and fill them with private or uncached content. ESI is useful for things like shopping cart widgets and personalized greetings, but we&#8217;ve left it disabled by default. <a href=\"https:\/\/lswp.store\/2017\/09\/06\/wpw-esi-and-litespeed-cache\/\">Go in-depth here<\/a>.<\/p>\n<h3 id=\"object\">Object<\/h3>\n<p>The settings on this tab allow you to control an external object cache (Memcached, LSMCD, or Redis). The server admin needs to have previously enabled and configured this external cache.<\/p>\n<h3 id=\"browser\">Browser<\/h3>\n<p>Browser cache is a client-level cache for static files. With browser caching enabled, static files (like images) are stored locally on the user&#8217;s device the first time they are requested. After that, the content is pulled from their local storage until the browser cache expires. The settings on this tab control the browser cache.<\/p>\n<h3 id=\"advanced\">Advanced<\/h3>\n<p>As you might guess from the name of this tab, it\u2019s aimed at more experienced users. You are not likely to need this tab, unless you have some kind of conflict with another cache plugin.<\/p>\n<h3 id=\"woocommerce\">WooCommerce<\/h3>\n<p>LSCache is compatible with WooCommerce. If you have WooCommerce enabled, this tab will appear, and will allow you to configure settings related to caching shop content.<\/p>\n<h2 id=\"other-plugin-sections\">Other Plugin Sections<\/h2>\n<p>There are many more sections to explore in the LSCache plugin. Each of these is documented in much greater detail <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/dashboard\/\">in the docs Screen-by-Screen section<\/a>. I&#8217;ve provided links to each section in the descriptions below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/docs.litespeedtech.com\/imgs\/lscache\/lscwp\/lscwp-menu.png\" alt=\"LiteSpeed Cache for WordPress Menu\" width=\"268\" height=\"466\" \/><\/p>\n<h3 id=\"dashboard\">Dashboard<\/h3>\n<p>The LiteSpeed Cache Dashboard allows you to see the status of all of your LSCache and QUIC.cloud services (Image Optimization, Critical CSS Generation, Low-Quality Image Placeholders, Cache Crawler, etc.) at a glance. You can also check your page load time and your page speed score. <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/dashboard\">Learn more<\/a>.<\/p>\n<h3 id=\"general\">General<\/h3>\n<p>The settings in this section control your usage of QUIC.cloud services, the ability to auto upgrade the plugin, and which messages you want to have displayed on the dashboard. <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/general\">Learn more<\/a>.<\/p>\n<h3 id=\"cdn\">CDN<\/h3>\n<p>This section allows you to configure your Content Delivery Network for use with WordPress. If you don&#8217;t use a CDN, don\u2019t worry about it. We&#8217;ve left CDN support disabled by default. <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/cdn\">Learn more<\/a>.<\/p>\n<h3 id=\"image-optimization\">Image Optimization<\/h3>\n<p>LiteSpeed Cache for WordPress provides the ability to optimize your images, making them smaller, and faster to transmit. This is done through a QUIC.cloud service and can be controlled in this section of the plugin. <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/imageopt\">Learn more<\/a>.<\/p>\n<h3 id=\"page-optimization\">Page Optimization<\/h3>\n<p>There are several non-cache measures you can take to speed up your WordPress site, and many of them are supported in this tab. CSS and Javascript minification and combination, HTTP\/2 push, asynchronous and deferred load\u2026 if you don\u2019t know what these things mean, don\u2019t worry. We&#8217;ve left them disabled by default. <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/pageopt\">Learn more<\/a>.<\/p>\n<h3 id=\"database\">Database<\/h3>\n<p>This section allows you to optimize your WordPress database. Database optimization is a useful tool when it comes to speeding up your site. LSCWP&#8217;s DB Optimizer gives you an easy way to execute some of these tasks in your WordPress database. <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/database\">Learn more<\/a>.<\/p>\n<h3 id=\"crawler\">Crawler<\/h3>\n<p>We&#8217;ve disabled the crawler by default. When it\u2019s active, it travels your site, refreshing any pages that may have expired from the cache. Crawling can be a resource-intensive process, and not all hosting providers will allow its use. If your hosting provider does allow crawling, it\u2019s a nice way to keep your cache fresh. <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/crawler\">Learn more<\/a>.<\/p>\n<h3 id=\"toolbox\">Toolbox<\/h3>\n<p>When you need to manually purge the cache, export your site settings, or debug an issue, you&#8217;ll find the means in the Toolbox section. Probably the most useful thing you will find here is the Environment Report. If you are having a problem and LiteSpeed support asks for your Report Number, <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/toolbox\/#report-tab\">this<\/a> is where you would go to get it. <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/toolbox\">Learn more<\/a>.<\/p>\n<h2>Watch the Video<\/h2>\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/cLbsMx-FhR0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>What now?<\/h2>\n<p>Now, you sit back and watch your site load more quickly &#x1f600;<\/p>\n<p>If you\u2019re feeling adventurous, you can start looking at some of those other features we glossed over. Or, maybe you&#8217;d like to <a href=\"https:\/\/lswp.store\/2022\/11\/21\/lscache-presets-for-wordpress\/\">try a preset<\/a>. They&#8217;re a great way to kick start your configuration, and they&#8217;re available for every comfort level.<\/p>\n<p>We have <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/overview\/\">documentation<\/a> that provides explanations of every setting (specific sections are linked to above), and you can explore <a href=\"http:\/\/blog.litespeedtech.com\/tag\/wordpress-wednesday\">previous WordPress Wednesday topics<\/a> for more in-depth discussions of some of them.<\/p>\n<p>If anything we covered was not clear enough, or you feel the need for additional help, please don\u2019t hesitate to leave a comment here or post on <a href=\"https:\/\/wordpress.org\/support\/plugin\/litespeed-cache\">our WordPress support forum<\/a>. We enthusiastically support this plugin and are happy to answer any of your questions!<\/p>\n<p>&#8212;<br \/>\nHave some of your own ideas for future <a href=\"http:\/\/blog.litespeedtech.com\/tag\/wordpress-wednesday\">WordPress Wednesday<\/a> topics? Leave us a comment!<\/p>\n<p>Don\u2019t forget to meet us back here next week for the next installment. In the meantime, here are a few other things you can do:<\/p>\n<ul>\n<li>Subscribe to the <a href=\"http:\/\/blog.litespeedtech.com\/tag\/wordpress-wednesday\/feed\/\">WordPress Wednesday RSS feed<\/a><\/li>\n<li>Download <a href=\"https:\/\/wordpress.org\/plugins\/litespeed-cache\/\">LiteSpeed Cache for WordPress plugin<\/a><\/li>\n<li>Learn more about the plugin <a href=\"https:\/\/www.litespeedtech.com\/products\/cache-plugins\/wordpress-acceleration\">on our website<\/a><\/li>\n<\/ul>\n<p>&#8212;<br \/>\n<em>This content was last verified and updated in June of 2023. If you find an inaccuracy, please let us know! In the meantime, see <a href=\"https:\/\/docs.litespeedtech.com\">our documentation site<\/a>\u00a0for the most up-to-date information.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you\u2019ve downloaded the LiteSpeed Cache for WordPress plugin, installed it, and activated it. Now what? Let us show you.<\/p>\n","protected":false},"author":1,"featured_media":8608,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[28],"tags":[46,316,317],"class_list":["post-8606","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cache","tag-beginners-guide","tag-wordpress","tag-wordpress-wednesday"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2017\/11\/null-13.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/8606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/comments?post=8606"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/8606\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/8608"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=8606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=8606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=8606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}