{"id":16269,"date":"2019-10-24T13:56:36","date_gmt":"2019-10-24T12:56:36","guid":{"rendered":"https:\/\/www.oderland.se\/support\/artikel\/hur-hanterar-jag-litespeed-cache-via-cpanel\/"},"modified":"2023-05-16T13:17:55","modified_gmt":"2023-05-16T12:17:55","slug":"how-do-i-manage-litespeed-cache-via-cpanel","status":"publish","type":"ht_kb","link":"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-manage-litespeed-cache-via-cpanel\/","title":{"rendered":"How do I manage LiteSpeed Cache via cPanel?"},"content":{"rendered":"\n<p>LiteSpeed is not only a piece of web server software that&#8217;s faster (and, in many cases, better) than Apache. It also has a build-in cache feature that decrease page loading speeds while also decreasing server load (which in turn decreases loading speeds even more). Lower loading speed is highly desirable! In this guide, we&#8217;ll go through how you can manage the LiteSpeed cache via cPanel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Accessing LiteSpeed Cache management<\/h2>\n\n\n\n<p>To access the management of LiteSpeed Cache (LSCache) via cPanel, begin by <a rel=\"noreferrer noopener\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-login-to-cpanel\/\" data-type=\"ht_kb\" data-id=\"4236\" target=\"_blank\">logging on to cPanel<\/a>. Then, find the icon <code>LiteSpeed Web Cache Manager<\/code> under <code>Advanced<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_litespeed_web_cache_manager-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"313\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_litespeed_web_cache_manager-1.png\" alt=\"\" class=\"wp-image-18759\" srcset=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_litespeed_web_cache_manager-1.png 707w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_litespeed_web_cache_manager-1-300x133.png 300w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_litespeed_web_cache_manager-1-50x22.png 50w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_litespeed_web_cache_manager-1-60x27.png 60w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/cpanel_icon_litespeed_web_cache_manager-1-100x44.png 100w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">LiteSpeed plugins for various CMSes<\/h2>\n\n\n\n<p>Via the page for LiteSpeed Web Cache Manager, you&#8217;ll find information about various LSCache plugins available for different platforms, such as WordPress, PrestaShop and others:<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_plugins.png\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"488\" class=\"wp-image-7674\" style=\"width: 500px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_plugins.png\" alt=\"Olika LiteSpeed-plugins\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Flush LSCache<\/h2>\n\n\n\n<p>Below the various plugins, you&#8217;ll find a feature for flushing the cache for all websites on your web hosting account that use the cache.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/flush_all_litespeed_cache.png\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"172\" class=\"wp-image-7676\" style=\"width: 700px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/flush_all_litespeed_cache.png\" alt=\"Rensa all cache f\u00f6r LiteSpeed\"><\/a><\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">If you only want to flush the cache for a specific site on your web hosting account, do not use this feature. Instead, log on to the admin of that site and flush the cache via the site&#8217;s LiteSpeed Cache plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">LiteSpeed Cache for WordPress<\/h2>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">Remember to deactivate and\/or uninstall other cache plugins on your site before activating LiteSpeed Cache. The different cache plugins may cause problems if they&#8217;re active at the same time.<\/p>\n\n\n\n<p>Under <code>LiteSpeed Cache Management<\/code>, you&#8217;re able to manage LSCache for the WordPress installations residing on your account, without having to log on to wp-admin for each site.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_cache_management.png\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"129\" class=\"wp-image-7690\" style=\"width: 700px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_cache_management.png\" alt=\"litespeed cache management\"><\/a><\/p>\n\n\n\n<p>If you click <code>WordPress Cache<\/code>, you&#8217;ll see a list of all installations that are indexed by the LSCache plugin for cPanel.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_wordpress.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1646\" height=\"804\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_wordpress.png\" alt=\"\" class=\"wp-image-7693\"\/><\/a><\/figure>\n\n\n\n<p>Here, you have access to several buttons\/features:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Refresh Status<\/code> &#8211; Reloads the page and updates the status for cache for the various listed sites. If a previously installed WordPress site has been deleted, it&#8217;ll be removed from the list when a refresh is done.<\/li>\n\n\n\n<li><code>Scan<\/code> &#8211; Scans the account for WordPress installations and add them to the list, so the cache can be managed from the interface.<\/li>\n\n\n\n<li><code>Flush All<\/code> &#8211; Performs the same action as the button under <code>Flush LSCache<\/code> &#8211; see <a href=\"#flush-lscache\">above<\/a>. It flushes the cache for all installations on the account, not only the ones listed here.<\/li>\n\n\n\n<li>List of found installations:\n<ul class=\"wp-block-list\">\n<li><code>Discovered WordPress Installations<\/code> &#8211; The path to the WordPress installation&#8217;s files, shown relative to ~ (<em>i.e.<\/em> the document root of the web hosting account).<\/li>\n\n\n\n<li><code>Cache status<\/code> &#8211; Displays whether the cache is <code>enabled<\/code> or <code>disabled<\/code> for the installation in question.<\/li>\n\n\n\n<li><code>Flag<\/code> &#8211; If an installation is flagged, it&#8217;ll be excluded from mass operations such as &#8220;Flush all&#8221;.<\/li>\n\n\n\n<li><code>Actions<\/code> &#8211; Here you may activate\/deactivate the plugin for each WordPress site, and also flag\/unflag the installation (see above).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>You may also select multiple installations (via the checkboxes to the left) and activate\/deactivate the cache for them, or flag\/unflag them &#8211; all at once.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Other settings<\/h2>\n\n\n\n<p>By the bottom of the page, you have access to a few additional settings for LSCache:<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_settings_and_advanced.png\"><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"63\" class=\"wp-image-7685\" style=\"width: 250px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_settings_and_advanced.png\" alt=\"Settings och Advanced\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Settings<\/h3>\n\n\n\n<p>Under Settings, you can set the <code>Log File Level<\/code> you want for LSCache. The default is <code>Info<\/code>, but you have a number of different levels to choose from, depending on the amount of details you wish to retrieve.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_cache_log_settings-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1650\" height=\"764\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_cache_log_settings-1.png\" alt=\"Inst\u00e4llningar f\u00f6r LiteSpeed Caches loggning\" class=\"wp-image-7696\"\/><\/a><\/figure>\n\n\n\n<p>Don&#8217;t forget to click <code>Save<\/code> when you change the log file level.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Advanced<\/h3>\n\n\n\n<p>Under Advanced, you have a button for restarting PHP processes on your web hosting account. This is handy of you want to flush other cache (such as PHP&#8217;s built-in opcache) or to stop processes that is stuck in a loop.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_restart_php.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1662\" height=\"1020\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2019\/10\/litespeed_restart_php.png\" alt=\"\" class=\"wp-image-7683\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>LiteSpeed is not only a piece of web server software that&#8217;s faster (and, in many cases, better) than Apache. It also has a build-in cache feature that decrease page loading speeds while also decreasing server load (which in turn decreases loading speeds even more). Lower loading speed is highly desirable!&#8230;<\/p>\n","protected":false},"author":12,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"ht-kb-category":[214],"ht-kb-tag":[],"class_list":["post-16269","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cpanel-whm"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/16269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/comments?post=16269"}],"version-history":[{"count":33,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/16269\/revisions"}],"predecessor-version":[{"id":18761,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/16269\/revisions\/18761"}],"wp:attachment":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/media?parent=16269"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb-category?post=16269"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=16269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}