Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cache:litemage:administration [2015/10/30 17:48] Michael Alegre |
litespeed_wiki:cache:litemage:administration [2016/05/06 15:51] (current) Rob Holda |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======= LiteMage Cache Administration ======= | + | ====== LiteMage Cache Administration ====== |
This page is dedicated to the different functions, tools, and tricks available to administrators in LiteMage Cache. | This page is dedicated to the different functions, tools, and tricks available to administrators in LiteMage Cache. | ||
- | ====== Enabling LiteMage Administrative Privilege Browser Commands ====== | + | ===== Enabling LiteMage Administrative Privilege Browser Commands ===== |
- | There are three methods of enabling LiteMage administrative privilege browser commands for your Magento site. The one you choose to use will depend on the mode you would like LiteMage to be in at the time as well as the type of commands you would like access to. . Refer to the [[#all_administrative_privilege_browser_commands|All Administrative Privilege Browser Commands]] section for a full list of administrative privilege commands. | + | There are three methods of enabling LiteMage administrative privilege browser commands for your Magento site. The one you choose to use will depend on the mode you would like LiteMage to be in at the time as well as the type of commands you would like access to. |
+ | |||
+ | ==== Debug-Related Browser Commands ==== | ||
- | ==== Debug-Related Commands ==== | ||
The following are two methods of enabling debug-related browser commands on your Magento site. | The following are two methods of enabling debug-related browser commands on your Magento site. | ||
Line 24: | Line 25: | ||
To enable LiteMage for certain IPs only, log in to the Magento Admin Panel and navigate to System -> Configuration. In the left hand side menu under "LITEMAGE CACHE", click "LiteMage Configuration". Under "Developer Testing" add the desired IPs to the **Enable LiteMage Cache Only for Listed IPs** field. | To enable LiteMage for certain IPs only, log in to the Magento Admin Panel and navigate to System -> Configuration. In the left hand side menu under "LITEMAGE CACHE", click "LiteMage Configuration". Under "Developer Testing" add the desired IPs to the **Enable LiteMage Cache Only for Listed IPs** field. | ||
- | ==== All Commands ==== | + | ==== All Browser Commands ==== |
- | The following method will enable all available administrative privilege browser commands (including debug-related commands). | + | The following method will enable all available browser commands (including debug-related browswer commands). |
=== Add Your IP to the Admin IPs List === | === Add Your IP to the Admin IPs List === | ||
- | This is the most direct and least obtrusive way of enabling administrative privilege browser commands for specific IPs. Although it can be less useful for debugging, LiteMage will remain enabled for all visitors to your site. | + | This is the most direct and least obtrusive way of enabling administrative privilege browser commands for specific IPs. This can be less useful for debugging, as LiteMage will remain enabled for all visitors to your site. |
To add your IP to the Admin IPs list, log in to the Magento Admin Panel and navigate to System -> Configuration. In the left hand side menu under "LITEMAGE CACHE", click "LiteMage Configuration". Under "General Settings" add the desired IPs to the **Admin IPs** field. | To add your IP to the Admin IPs list, log in to the Magento Admin Panel and navigate to System -> Configuration. In the left hand side menu under "LITEMAGE CACHE", click "LiteMage Configuration". Under "General Settings" add the desired IPs to the **Admin IPs** field. | ||
Line 44: | Line 45: | ||
===== LiteMage Cache Cleanup ===== | ===== LiteMage Cache Cleanup ===== | ||
- | Like most caches, LiteMage Cache needs to be periodically cleaned to prevent the cache storage from growing to large. To this end we have included the **cleanlitemage.sh** script in the ''admin/misc'' directory of your LSWS installation directory. | + | Like most caches, LiteMage Cache needs to be periodically cleaned to prevent the cache storage from growing too large. Deleting these files by flushing the cache through Magento could slow down your site and it would instead be preferable to do this cleaning in a separate process. To this end LiteMage will only mark files as "expired" when the cache is flushed instead of deleting them outright. To do the actual cleaning, we have included a **cleanlitemage.sh** script in the ''admin/misc'' directory of your LSWS installation directory. |
This script takes from one to three plus input parameters, which are as follows: | This script takes from one to three plus input parameters, which are as follows: |