Differences

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

Link to this comparison view

litespeed_wiki:cache:litemage:troubleshooting:warming-cache-by-customer-group [2017/08/01 17:45] (current)
Lisa Clarke created
Line 1: Line 1:
 +~~NOTOC~~
 +====== Warming the Cache for Customer Groups ======
 +
 +When Magento uses customer groups to define different pricing levels, LiteMage can be configured to warm up the cache for each group. To enable this functionality,​ first create a dummy customer for each group, and then configure LiteMage to crawl on behalf of the dummy users.
 +
 +===== Create the dummy customers =====
 +
 +Add a customer for each group that you wish to crawl. Your configuration should look similar to the example below, with one for each of the defined customer groups that you want to be warmed up. 
 +
 +Tip: if you put “litemage” in the email address like this administrator has done, it will be easy to find the dummy customers again in the future, if you need to.
 +
 +{{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage_config_wiki2.png?​700 |}}
 +
 +Make note of the customer IDs.
 +===== Configure LiteMage =====
 +
 +Navigate to **System > Configuration > LiteMage Configuration > Cache Warm Up** and enter the customer IDs, separated by commas, into the **Crawl on Behalf of Logged-in Users** field, as shown:
 +
 +
 +{{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage_config_wiki1.png?​700 |}}
 +
 +From this point on, the cache should be warmed-up for each of the customer groups represented in the list. 
 +
 +===== Test the Configuration =====
 +
 +After your cache has had a chance to warm up, visit a page as one of your dummy customers and verify that the page was indeed served from cache. If you find that the page is blank, or the pricing is incorrect, there may be one further configuration issue to address. See [[litespeed_wiki:​cache:​litemage:​troubleshooting:​incorrect_customer_group_warmup|our troubleshooting page]] for details.
 +
  
  • Admin
  • Last modified: 2017/08/01 17:45
  • by Lisa Clarke