====== Automatically Flush LiteMage Cache ====== There is no need to set up a cron job to flush LiteMage Cache as cached files are saved and [[litespeed_wiki:cache:cache-storage|automatically managed by LiteSpeed Web Server]]. 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 time to do this when the server is not busy. On the Magento side, you can issue a flush command from the command line either manually or through cron if needed: magento_dir/shell/litemage_purge.php Usage: php litemage_purge.php -- [options] --products Comma delimited product IDs --cats Comma delimited category IDs --stores Comma delimited store IDs --tags Comma delimited raw tags. You need to understand LiteMage internals to use this. --all Flush all cached files in LiteSpeed Web Server.r.