Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
litespeed_wiki:cache:litemage:troubleshooting:how_auto_flush_litemage [2017/05/02 20:35]
Jackson Zhang created
litespeed_wiki:cache:litemage:troubleshooting:how_auto_flush_litemage [2017/05/03 14:57] (current)
Michael Alegre Edited for grammer and improved formatting.
Line 1: Line 1:
-===== Do I need to flush Litemage ​Cache with cron once per day? ===== +====== Automatically Flush LiteMage ​Cache ====== 
-No need. The cached files are saved and managed by LSWS+There is no need to set up a cron job to flush LiteMage Cache as cached files are saved and automatically ​managed by LiteSpeed Web Server
  
-On Magento side, you can issue a flush command from the command line either manually or by cron: +If you want to delete the actual cached files, you can use lsws/admin/misc/​cleanlitemage.sh to do so, but it is not necessary as LiteSpeed Web Server will schedule to do this when the server is not busy.
-  magento_dir/shell/litemage_purge.php+
  
-  Usage php litemage_purge.php -- [options] +On the Magento side, you can issue a flush command from the command line either manually or through cron if needed:
-  --products <product IDs> ​   Comma delimited product IDs +
-  --cats <​category_IDs> ​      Comma delimited category IDs +
-  --stores <​store_IDs> ​       Comma delimited store IDs +
-  --tags <raw tags> ​          Comma delimited raw tags. You need to understand LiteMage internals to use this. +
-  --all                       Flush all cached files in LiteSpeed Web Server.r.+
  
-If you want to delete the physically cached files, you can use lsws/admin/misc/​cleanlitemage.sh +<​code>​ 
-But it's not really necessaryLSWS will schedule ​to do it when the server is not busy.+magento_dir/shell/litemage_purge.php 
 + 
 +Usage: ​ php litemage_purge.php -- [options] 
 +--products <product IDs> ​   Comma delimited product IDs 
 +--cats <​category_IDs> ​      Comma delimited category IDs 
 +--stores <​store_IDs> ​       Comma delimited store IDs 
 +--tags <raw tags> ​          Comma delimited raw tagsYou need to understand LiteMage internals to use this. 
 +--all                       Flush all cached files in LiteSpeed Web Server.r. 
 +</​code>​
  • Admin
  • Last modified: 2017/05/02 20:35
  • by Jackson Zhang