Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cache:litemage:installation [2017/12/07 20:00] Jackson Zhang [LiteMage Extension for Magento Installation] |
litespeed_wiki:cache:litemage:installation [2018/10/02 16:24] Lisa Clarke [Turn On/Off LiteMage in Magento Configurations] Proofreading |
||
---|---|---|---|
Line 57: | Line 57: | ||
===== LiteMage Extension for Magento Installation ===== | ===== LiteMage Extension for Magento Installation ===== | ||
- | The LiteMage extension for Magento needs to be installed for each Magento installation. Varnish cache and other full page caches must also be disabled ( including Magento built in full page cache ). Normally locate the xml file for the modules located at app/etc/modules/, For example, Extendware_EWPageCache.xml, and change ''<active>true</active>'' to ''<active>false</active>''. You will need to go to system->cache management-> Configuration (refresh the configuration) and flush the cache storage . | + | The LiteMage extension for Magento needs to be installed for each Magento installation. Varnish cache and other full page caches must also be disabled ( including Magento built in full page cache ). Normally locate the xml file for the modules located at app/etc/modules/, For example, Extendware_EWPageCache.xml, and change ''<active>true</active>'' to ''<active>false</active>''. Alternatively, you can rename the xml to other name such as adding ''.disable'' to it: ''mv Extendware_EWPageCache.xml Extendware_EWPageCache.xml.disable''. You will need to go to system->cache management-> Configuration (refresh the configuration) and flush the cache storage . |
Line 76: | Line 76: | ||
**Note:** If you are using any of our other LiteSpeed Cache plugins, please see **[[litespeed_wiki:cache:common:logged-in-cookie-conflicts|Handling Logged-in Cookie Conflicts]]**. | **Note:** If you are using any of our other LiteSpeed Cache plugins, please see **[[litespeed_wiki:cache:common:logged-in-cookie-conflicts|Handling Logged-in Cookie Conflicts]]**. | ||
- | ===== Turn On/Off LiteMage in Magento Configurations ===== | + | ===== Turn LiteMage On/Off in Magento Configuration ===== |
- | - Navigate to System -> Configuration and in the left side menu under "LITEMAGE CACHE" click "LiteMage Configuration". | + | - Navigate to **System > Configuration**, and in the left side menu under **LITEMAGE CACHE**, click **LiteMage Configuration**. |
- | - Under General Settings, set **Enable LiteMage Cache** to "Yes". {{:litespeed_wiki:cache:litemage:litemage-yes.jpg?|}} | + | - Under **General Settings**, set **Enable LiteMage Cache** to ''Yes''. {{:litespeed_wiki:cache:litemage:litemage-yes.jpg?|}} |
- | - For initial deployment, we recommend running LiteMage in test mode: | + | - For initial deployment, we recommend running LiteMage in test mode. Under **Developer Testing**, add your IP address to **Enable LiteMage Cache Only for Listed IPs**. Remove your IP when done with testing. {{:litespeed_wiki:cache:litemage:litemage-testip.png?|}} |
- | - Under Developer Testing, add your IP address to **Enable LiteMage Cache Only for Listed IPs**. Remove your IP when done with testing. {{:litespeed_wiki:cache:litemage:litemage-testip.png?|}} | + | - Click the **Save Config** button at the top of the screen. |
- | - Click the "Save Config" button at the top of the screen. | + | - Navigate to **System > Cache Management**. Under **Cache Storage Management**, check the box next to **Configuration** and click the **Submit** button to refresh the configuration cache. |
- | - Navigate to System -> Cache Management. Under "Cache Storage Management", check the box next to "Configuration" and click the "Submit" button to refresh the configuration cache. | + | |
Notes: | Notes: | ||
- | * To turn off LiteMage, set **Enable LiteMage Cache** to "No" and refresh the configuration cache again. | + | * To turn off LiteMage, set **Enable LiteMage Cache** to ''No'' and refresh the configuration cache again. |
- | * If you encounter a "Your installation of LiteSpeed Web Server does not have LiteMage enabled." error message, make sure that your LSWS has the LiteMage module and that you have enabled LiteMage in your Magento ".htaccess" file. (Refer to the "Turn on the LiteMage Module" step above). | + | * If you encounter a ''Your installation of LiteSpeed Web Server does not have LiteMage enabled.'' error message, make sure that your LSWS has the LiteMage module and that you have enabled LiteMage in your Magento ''.htaccess'' file. (Refer to the **Turn on the LiteMage Module** step above). |
- | * Once LiteMage Cache is enabled, a “Flush LiteMage Cache” button will show up under System -> Cache Management. If you click “Flush Magento Cache” or “Flush Cache Storage”, it will automatically flush LiteMage Cache as well. | + | * Once LiteMage Cache is enabled, a **Flush LiteMage Cache** button will show up under **System > Cache Management**. If you click **Flush Magento Cache** or **Flush Cache Storage**, it will automatically flush LiteMage Cache as well. |
- | * For LiteMage to work correctly, you must have both "Configuration" and "Layouts" enabled under System -> Cache Management. If you are using Magento Enterprise, you must also disable "Page Cache". | + | * For LiteMage to work correctly, you must have both **Configuration** and **Layouts** ''Enabled'' under **System > Cache Management**. If you are using Magento Enterprise, you must also ''Disable'' **Page Cache**. |
+ | * LiteSpeed doesn't need anything from **Blocks HTML output**. Leave it ''Enabled'' to start, but if it causes trouble, you can set it to ''Disabled''. | ||
{{ :litespeed_wiki:cache:magento-cache-management-li-80-e.png?nolink |}} | {{ :litespeed_wiki:cache:magento-cache-management-li-80-e.png?nolink |}} | ||