{"id":12429,"date":"2022-11-21T06:00:15","date_gmt":"2022-11-21T11:00:15","guid":{"rendered":"https:\/\/blog.litespeedtech.com\/?p=12429"},"modified":"2022-11-21T06:00:15","modified_gmt":"2022-11-21T11:00:15","slug":"lscache-presets-for-wordpress","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2022\/11\/21\/lscache-presets-for-wordpress\/","title":{"rendered":"Presets in LSCWP v5.3"},"content":{"rendered":"<h1 id=\"presets-in-lscwp-v53\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-12433\" src=\"https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-1.png\" alt=\"Presets in LSCWP v5.3\" width=\"1000\" height=\"500\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-1.png 1000w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-1-300x150.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-1-768x384.png 768w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-1-600x300.png 600w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/h1>\n<p>Introducing <strong>LSCache Presets for WordPress<\/strong>: the easiest way to optimize your WordPress site using the Litespeed Cache plugin.<\/p>\n<p>Litespeed Cache Presets are a pre-tuned set of options, which can be used for optimizing any WordPress site using Litespeed Cache. You can configure your ideal level of optimization with just a few clicks!<\/p>\n<h2 id=\"how-to-use-a-litespeed-cache-preset\">How to use a LiteSpeed Cache preset<\/h2>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-12431\" src=\"https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-screenshot-1024x535.png\" alt=\"LSCache Presets for WordPress\" width=\"1024\" height=\"535\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-screenshot-1024x535.png 1024w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-screenshot-300x157.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-screenshot-768x401.png 768w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-screenshot-1536x803.png 1536w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-screenshot-1320x690.png 1320w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-screenshot-600x314.png 600w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-screenshot.png 1726w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>In the WordPress Dashboard, you can find <strong>Presets<\/strong> under the <strong>LiteSpeed Cache<\/strong> menu. If you don&#8217;t see it, make sure you&#8217;re using v5.3 or higher of the plugin.<\/p>\n<p>To use a preset, press the appropriate\u00a0<strong>Apply Preset<\/strong>\u00a0button on the <strong>Standar Presets<\/strong> tab, and answer\u00a0<strong>OK<\/strong>\u00a0when prompted to continue. Your old settings will be backed up, and the new preset settings will be applied.<\/p>\n<p>Be sure to test your site and make sure everything is working as expected. This is especially important if you&#8217;ve chosen one of the more aggressive presets. If the settings in the preset causes a problem for your site, you can revert back to your previous settings via the\u00a0<strong>History<\/strong>\u00a0section\u00a0at the bottom of the tab.<\/p>\n<h2 id=\"how-to-revert-back\">How to revert back<\/h2>\n<p>The <strong>History<\/strong> section appears on the\u00a0<strong>Standard Presets<\/strong>\u00a0tab if you have previously applied a preset. Every time you apply a preset, a new entry is added to the history, along with a link that will allow you to revert back to the previous settings.<\/p>\n<p>Simply click the link, and everything will return to the way it once was.<\/p>\n<h2 id=\"how-to-manage-presets-from-the-cli\">How to Manage Presets from the CLI<\/h2>\n<p>Coming soon, if you&#8217;re using the WordPress CLI, you will be able to apply presets and restore backups using the <code>litespeed-presets<\/code> command and its three options: <code>apply<\/code>, <code>get_backups<\/code>, and <code>restore<\/code>.<\/p>\n<h3 id=\"examples\">Examples<\/h3>\n<p>Apply the &#8220;Basic&#8221; preset:<\/p>\n<pre><code>$ wp litespeed-presets apply basic\n<\/code><\/pre>\n<p>Get a list of available backups:<\/p>\n<pre><code>$ wp litespeed-presets get_backups\n<\/code><\/pre>\n<p>The backups displayed via <code>get_backups<\/code> all have numerical references. Restore the backup that has reference number <code>1667485245<\/code>:<\/p>\n<pre><code>$ wp litespeed-presets restore 1667485245\n<\/code><\/pre>\n<p>Look for CLI Preset support in an upcoming version of LiteSpeed&#8217;s WordPress plugin.<\/p>\n<h2 id=\"how-to-choose-a-preset\">How to choose a preset<\/h2>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-12435\" src=\"https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-a.png\" alt=\"\" width=\"1000\" height=\"750\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-a.png 1000w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-a-300x225.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-a-768x576.png 768w, https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-a-600x450.png 600w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>Presets are listed in order of risk and skill level. If you are new to caching, and you prefer to &#8220;set it and forget it&#8221; then stick with <strong>Essentials<\/strong> or <strong>Basic<\/strong>. On the other hand, if you are a seasoned pro, or you&#8217;re an adventurous tinkerer, you might want to try one of the presets at the end of the list.<\/p>\n<p>Here is a basic overview of the official LiteSpeed preset collection. (You can take a look at <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/presets\/\">our presets documentation<\/a>, if you&#8217;d like the full details for each preset.)<\/p>\n<h3 id=\"essentials\">Essentials<\/h3>\n<p>This preset enables caching, sets a higher default TTL (time to live) , and enables browser cache. These are easy, low-risk ways to improve your site&#8217;s loading time.<\/p>\n<p><strong>Essentials<\/strong> will never break your site&#8217;s formatting, and will not require any tweaking whatsoever. Even if (or, maybe <em>especially<\/em> if) you have no experience with caching, you can apply this preset with confidence.<\/p>\n<h3 id=\"basic\">Basic<\/h3>\n<p><strong>Basic<\/strong> enables everything that <strong>Essentials<\/strong> does, but it adds image optimization to speed up image loading time, and mobile cache to allow you to cache a mobile version of your website that may be different than the desktop version.<\/p>\n<p>This preset is appropriate for enthusiastic beginners who want to ease into a basic level of optimization. You shouldn&#8217;t have to make any adjustments to your settings in order to make this work. Image optimization is a QUIC.cloud service, so you will need a domain key in order to make this work. If you don&#8217;t have one, the plugin will prompt you and show you how to get one. The domain key and the image optimization service are both free.<\/p>\n<h3 id=\"advanced\">Advanced<\/h3>\n<p>Here&#8217;s where things start to get more complicated. <strong>Advanced<\/strong> enables everything in <strong>Basic<\/strong>, and then adds a large number of page optimization features. While this plugin potentially requires some maintenance from you, it has the potential to greatly improve your site&#8217;s page speed score.<\/p>\n<p>Page optimization features sometimes highlight incompatibilities among CSS or Javascript used on your site. The incompatible files need to be excluded from optimization. If you enable this preset, you should be comfortable setting up CSS or JS exclusions via the plugin admin.<\/p>\n<p>A domain key is required.<\/p>\n<h3 id=\"aggressive\">Aggressive<\/h3>\n<p>Added to the <strong>Advanced<\/strong> features are CSS and JS Combine, Critical CSS, Unique CSS and more. CCSS and UCSS are both QUIC.cloud services which may incur fees, and domain key is required.<\/p>\n<p>These features are excellent for page speed scores, and they really speed up your site. But they also have considerable potential to require intervention. Only use this preset if you are comfortable looking for conflicts and excluding files from optimization.<\/p>\n<h3 id=\"extreme\">Extreme<\/h3>\n<p>As you might expect from a preset called <strong>Extreme<\/strong>, this one enables the maximum level of optimization possible. Page speed sites love sites with all of these optimizations.<\/p>\n<p>As with previous presets, a domain key is required, as is some expertise. These settings are likely to introduce CSS or JS conflicts, especially if you have a lot of plugins or a complicated theme.<\/p>\n<h2 id=\"frequently-asked-questions\">Frequently Asked Questions<\/h2>\n<h3 id=\"i-am-new-to-litespeed-cache-which-preset-should-i-apply\">I am new to Litespeed Cache, which preset should I apply?<\/h3>\n<p>We suggest trying the <strong>Advanced<\/strong> preset because it takes a balanced approach to optimization and speed. You shouldn\u2019t need to manually tweak many settings, but if you do experience difficulty, you can always revert to your previous settings, or try the <strong>Basic<\/strong> preset.<\/p>\n<h3 id=\"can-i-modify-litespeed-cache-settings-after-setting-up-this-preset\">Can I modify Litespeed Cache settings after setting up this preset?<\/h3>\n<p>Yes, it is absolutely possible to edit any options after applying a preset. Presets are just an easy way to get started. They give you a good base optimization to start with, but many complex websites will need more fine-tuning to achieve their best possible page score or user experience.<\/p>\n<h3 id=\"if-i-dont-like-a-preset-ive-applied-can-i-undo-it\">If I don&#8217;t like a preset I&#8217;ve applied, can I undo it?<\/h3>\n<p>Yes! Please see <a href=\"\/#how-to-revert-back\">How to revert back<\/a> above.<\/p>\n<h3 id=\"how-can-i-get-more-fine-tuning-specifically-for-my-website\">How can I get more fine-tuning specifically for my website?<\/h3>\n<p>Presets are a simple way to get started, but if your site design is complicated, or you just don&#8217;t want to get your hands dirty with WordPress admin, LiteSpeed offers a\u00a0<a href=\"https:\/\/store.litespeedtech.com\/store\/cart.php?gid=5\">Paid Support Service<\/a>. We&#8217;ll be happy to do the optimization for you.<\/p>\n<h2 id=\"conclusion\">Video<\/h2>\n<p>Prefer to see how it&#8217;s done? We&#8217;ve demonstrated all of the steps in this video:<br \/>\n<iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/KsymNHgM3w4\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Conclusion<\/h2>\n<p>These Standard Presets, which were developed by our LiteSpeed team, provide a simple way to apply preconfigured optimization settings for every comfort level. But this is just a start!<\/p>\n<p>Eventually, we hope to include Presets that have been submitted by members of our community to cover a wide variety of site styles and needs.<\/p>\n<p>In the meantime, give our Standard Presets a try, and let us know what you think!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introducing LSCache Presets for WordPress: the easiest way to optimize your WordPress site using the Litespeed Cache plugin. Litespeed Cache Presets are a pre-tuned set of options, which can be used for optimizing any WordPress site using Litespeed Cache. You can configure your ideal level of optimization with just a few clicks! How to use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12433,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[28],"tags":[316],"class_list":["post-12429","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cache","tag-wordpress"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2022\/11\/lscwp-presets-1.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/12429","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=12429"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/12429\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/12433"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=12429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=12429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=12429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}