{"id":8965,"date":"2026-05-30T01:29:06","date_gmt":"2026-05-29T23:29:06","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=8965"},"modified":"2026-06-08T09:29:05","modified_gmt":"2026-06-08T07:29:05","slug":"cum-sa-activati-litespeed-cache-pe-joomla","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/","title":{"rendered":"Cum s\u0103 activa\u021bi Litespeed Cache pe Joomla"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">Implementing <strong>LiteSpeed Cache (LSCache) for Joomla<\/strong> significantly optimizes site performance. By saving static snapshots of your dynamic web content, the extension bypasses resource-heavy PHP engine tasks and relational database lookups.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The integration relies on an advanced, tag-based purge architecture: when you update an article, module, or menu layout, LSCache identifies and purges only the affected pages, leaving the rest of your cached environment untouched.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/#Step_1_Establish_Server-Level_Redirection_Cache_Rules\" >Step 1: Establish Server-Level Redirection Cache Rules<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/#Mobile_View_Configurations\" >Mobile View Configurations<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/#Step_2_Download_and_Deploy_the_LSCache_Extension_Package\" >Step 2: Download and Deploy the LSCache Extension Package<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/#Step_3_Verify_and_Enable_the_System_Plugin\" >Step 3: Verify and Enable the System Plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/#Step_4_Configure_Optimization_Settings\" >Step 4: Configure Optimization Settings<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/#Basic_Configuration_Tab\" >Basic Configuration Tab<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/#Exclude_Rules_Tab\" >Exclude Rules Tab<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-enable-litespeed-cache-on-joomla\/#Step_5_Verify_the_Edge_Cache_Handshake\" >Step 5: Verify the Edge Cache Handshake<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Establish_Server-Level_Redirection_Cache_Rules\"><\/span>Step 1: Establish Server-Level Redirection Cache Rules<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-1544727783\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">Before activating the backend Joomla extension, you must instruct the LiteSpeed Web Server engine to watch for and accept caching headers from your domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Log into your hosting account dashboard, access your site&#8217;s root file directory via  SSH, and open your primary local <strong><code>.htaccess<\/code><\/strong> configuration file. Inject the following structural block at the top of the file:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apache<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;IfModule LiteSpeed&gt;\n    CacheLookup on\n&lt;\/IfModule&gt;\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mobile_View_Configurations\"><\/span>Mobile View Configurations<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If your site serves an entirely separate mobile template instead of using a responsive CSS design layout, append these additional matching environment instructions beneath your lookup line:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apache<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;IfModule LiteSpeed&gt;\n    RewriteEngine On\n    RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk\/|Kindle|BlackBerry|Opera\\ Mini|Opera\\ Mobi &#91;NC]\n    RewriteRule .* - &#91;E=Cache-Control:vary=ismobile]\n&lt;\/IfModule&gt;\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Download_and_Deploy_the_LSCache_Extension_Package\"><\/span>Step 2: Download and Deploy the LSCache Extension Package<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Navigate to the official LiteSpeed download center or their public GitHub repository, and save the compressed archive file (e.g., <code>lscache-latest.zip<\/code>) optimized for your Joomla branch.<\/li>\n\n\n\n<li>Log into your Joomla administrator back-office dashboard.<\/li>\n\n\n\n<li>Access the system installation workspace based on your core version:\n<ul class=\"wp-block-list\">\n<li><strong>Joomla 4.x \/ 5.x:<\/strong> Navigate to <strong>System (Left Menu Panel)<\/strong>, open <strong>Install<\/strong>, and select <strong>Extensions<\/strong>.<\/li>\n\n\n\n<li><strong>Joomla 3.x:<\/strong> Navigate to <strong>Extensions (Top Horizontal Menu)<\/strong>, open <strong>Manage<\/strong>, and select <strong>Install<\/strong>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Select the <strong>Upload Package File<\/strong> tab workspace. Drag your downloaded <code>.zip<\/code> file directly into the designated upload field. The installation engine will automatically parse the archive, build the necessary database tables, and establish the module hooks.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Verify_and_Enable_the_System_Plugin\"><\/span>Step 3: Verify and Enable the System Plugin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Joomla installs extensions in a default inactive state. You must manually activate the system component before editing configuration options:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Move to your <strong>Plugins<\/strong> directory dashboard. You can access this via <strong>System<\/strong>, open <strong>Manage<\/strong>, and select <strong>Plugins<\/strong> (or <strong>Extensions<\/strong>, then <strong>Plugins<\/strong>).<\/li>\n\n\n\n<li>Use the local search field and type <code>LiteSpeed<\/code> to filter your plugin logs.<\/li>\n\n\n\n<li>Locate the row labeled <strong>System &#8211; LiteSpeed Cache<\/strong>. If the status column displays a red indicator, click it to change the state to an active <strong>Green Check Mark<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Configure_Optimization_Settings\"><\/span>Step 4: Configure Optimization Settings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once activated, access the primary configuration interface panel. Depending on your version, navigate to <strong>Components<\/strong>, open <strong>LiteSpeed Cache<\/strong>, and click <strong>Options<\/strong>, or access <strong>System<\/strong>, open <strong>Global Configuration<\/strong>, and select <strong>LiteSpeed Cache<\/strong> from the component choices on the left.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Basic_Configuration_Tab\"><\/span>Basic Configuration Tab<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enable LiteSpeed Cache:<\/strong> Toggle this master variable to <strong>Yes<\/strong>.<\/li>\n\n\n\n<li><strong>Public Cache TTL (minutes):<\/strong> Dictates how long static pages remain valid within the server memory matrix before checking for fresh database content. Because LSCache uses a smart, auto-purge architecture when content changes, you can confidently set a higher duration (e.g., <code>2000<\/code> minutes or more).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Exclude_Rules_Tab\"><\/span>Exclude Rules Tab<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To prevent data corruption, session mixing, or shopping cart calculation errors, ensure dynamic pages are completely isolated from your public cache layer:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Exclude Components:<\/strong> Click into this multi-select selection array and flag all components that depend on continuous user interactions or real-time data inputs (such as user dashboards, payment forms, or e-commerce checkouts).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Verify_the_Edge_Cache_Handshake\"><\/span>Step 5: Verify the Edge Cache Handshake<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To verify that your web assets are being successfully saved and served from the server-level cache framework:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Launch an external, logged-out private browser window and open your website viewport.<\/li>\n\n\n\n<li>Open your browser&#8217;s Developer Tools network console (typically <strong>Right-Click<\/strong>, open <strong>Inspect<\/strong>, and select the <strong>Network Tab<\/strong>).<\/li>\n\n\n\n<li>Execute a manual page reload to view your asset loading files.<\/li>\n\n\n\n<li>Click on your primary document file line (the topmost HTML row match) and evaluate the returned <strong>Response Headers<\/strong> data stream.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Plaintext<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>X-LiteSpeed-Cache: hit\nX-LiteSpeed-Cache-Control: public, max-age=120000\nX-LiteSpeed-Tag: J3_A11, J3_C18, J3_M22\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>X-LiteSpeed-Cache: miss<\/code><\/strong> means the server-level memory has not captured a static snapshot of the page yet, but it has initiated a recording sequence for the next user hit.<\/li>\n\n\n\n<li><strong><code>X-LiteSpeed-Cache: hit<\/code><\/strong> confirms that your server is serving the compiled asset layout instantly from cache, successfully bypassing the PHP parsing runtime.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[58],"manual_kb_tag":[6283,6284,6285,765,766,1315,2370,2805,4156,6282],"class_list":["post-8965","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-web-applications-cms","manual_kb_tag-joomla-4","manual_kb_tag-joomla-3","manual_kb_tag-edge-cache","manual_kb_tag-litespeed","manual_kb_tag-litespeed-cache","manual_kb_tag-public-cache","manual_kb_tag-server-cache","manual_kb_tag-joomla","manual_kb_tag-cache-optimization","manual_kb_tag-joomla-extension"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8965\/revisions"}],"predecessor-version":[{"id":8993,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8965\/revisions\/8993"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=8965"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=8965"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=8965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}