Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:cache:lscjoomla:installation [2018/06/01 18:20] Lisa Clarke created |
litespeed_wiki:cache:lscjoomla:installation [2020/07/14 17:05] (current) Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LiteSpeed Cache for Joomla Installation ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lscache/lscjoomla/installation/~~ |
- | + | ||
- | This version of LiteSpeed Cache requires **Joomla 3.x** or later and **LiteSpeed Web Server 5.2.3** or later. | + | |
- | + | ||
- | Before installing and activating LSCJoomla, deactivate all other full-page cache plugins, including "System - Page Cache" and "JotCache." | + | |
- | + | ||
- | **NOTE**: You can still use other types of cache (like object cache), but only one page cache can be used at a time, so you’ll need to disable the others, if you want to use LSCache. | + | |
- | + | ||
- | ===== Server Configuration ===== | + | |
- | Modify the ''.htaccess'' file in the Joomla site directory, and add the following directives: | + | |
- | + | ||
- | <code> | + | |
- | <IfModule LiteSpeed> | + | |
- | CacheLookup on | + | |
- | </IfModule> | + | |
- | </code> | + | |
- | + | ||
- | If your Joomla site has a separate mobile view, please also add the following: | + | |
- | <code> | + | |
- | <IfModule LiteSpeed> | + | |
- | RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC] RewriteRule .* - [E=Cache-Control:vary=ismobile] | + | |
- | </IfModule> | + | |
- | </code> | + | |
- | + | ||
- | ===== Plugin Installation ===== | + | |
- | Download [[https://github.com/litespeedtech/lscache-joomla|the LSCache for Joomla package]] from GitHub. | + | |
- | + | ||
- | From the Joomla Administration menu, navigate to **Extensions -> Manage -> Install** | + | |
- | {{:litespeed_wiki:cache:joo-1.png?800|}} | + | |
- | + | ||
- | Select the **Upload Package File** tab, and drag the zip file into the window, or press the button to browse for the file. | + | |
- | {{:litespeed_wiki:cache:joo-2.png?800|}} | + | |
- | + | ||
- | The plugin will be automatically installed and enabled. | + | |
- | + | ||
- | ===== Verify the Plugin is Enabled ===== | + | |
- | Navigate to **Extensions > Plugins**. If you have a lot of plugins listed, type ''LiteSpeed'' into the search box to bring up the LiteSpeed Cache Plugin. | + | |
- | {{:litespeed_wiki:cache:lscjoomla:lscjoomla-enable.png?direct&800|}} | + | |
- | + | ||
- | Look for the green check mark next to the plugin name. This indicates that the plugin is installed and enabled. If you see a red X instead, click the red X to enable the plugin. Once you’ve done that, the green check mark should appear, and you are good to go. | + | |
- | + | ||
- | If you wish to disable the plugin in the future, you may click the green check mark to toggle it back to the red X. | + |