Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:cache:litemage:configuration:cache_warm_up [2016/09/16 21:13]
Rob Holda [Auto Collect Depth]
litespeed_wiki:cache:litemage:configuration:cache_warm_up [2017/10/23 15:47] (current)
Jackson Zhang [Custom Defined URL List Files]
Line 61: Line 61:
   * If your store supports multiple currencies, you can also warm up non-default currency views. You can turn this off by leaving this setting blank.   * If your store supports multiple currencies, you can also warm up non-default currency views. You can turn this off by leaving this setting blank.
   * You can also list only the popular currencies in the order of priority. The default currency will be crawled first, then the crawler will follow the order of your supplied list.   * You can also list only the popular currencies in the order of priority. The default currency will be crawled first, then the crawler will follow the order of your supplied list.
 +
 +===== Crawl on Behalf of Logged-in Users =====
 +//Available since LiteMage version 1.3.6.//
 +
 +Warm up pages for logged-in user representatives. Space, comma separated list of user IDs from representative groups.
 +For example, the user with ID 135 is from the VIP group and "​Separate Cache Copy Per Customer Group" is set for the VIP group. In this case, you can list user 135 to warm the VIP user version of the site. If user 138 is in the General group and only logged-in users can write reviews and the General group is not in separate cache copy group, you can add 138, like "135, 138".
 +
 +===== Crawl for Mobile Views =====
 +//Available since LiteMage version 1.3.6.//
 +
 +Warm up pages for a different mobile theme. Only use this setting if a different template theme is used for mobile view. "​Mobile Theme" must also be set under LiteMage configuration - General Settings.
  
 ===== Custom Defined URL List Files =====  ===== Custom Defined URL List Files ===== 
Line 67: Line 78:
 {{:​litespeed_wiki:​cache:​litemage:​configuration:​screen_shot_2016-07-15_at_3.47.04_pm.png|}} {{:​litespeed_wiki:​cache:​litemage:​configuration:​screen_shot_2016-07-15_at_3.47.04_pm.png|}}
  
-Set on a per store basis. You can supply a list of files containing customized URL lists with varying intervals and priorities. This can be set by going to the “Current Configuration Scope” box and selecting a store.+Set on a per store basis. You can supply a list of files containing customized URL lists with varying intervals and priorities. This can be set by going to the “Current Configuration Scope” box and selecting a store. ​The file name should an absolute path, which can be placed in magento var/​litemage/,​ as long as the file is readable by magento php. For example, ''​ /​home/​$USER/​public_html/​var/​litemage/​cache_brand_list''​. If absolute path not defined, you should see the following error: 
 +{{ :​litespeed_wiki:​cache:​litemage:​configuration:​litemage-user-define-url-list-files-path-error.png?​600 |}} 
  
 Each line should contain the absolute path to a single file, followed by the interval for that file (in seconds) and the for that file priority. The interval must be a number greater than 600. The priority is a number greater than 0, where a lower number means a higher priority. Each file listed should contain a list of custom-defined URLs (one per line). This setting can be used to create a short list of important URLs to be warmed up first or refreshed more frequently. Each line should contain the absolute path to a single file, followed by the interval for that file (in seconds) and the for that file priority. The interval must be a number greater than 600. The priority is a number greater than 0, where a lower number means a higher priority. Each file listed should contain a list of custom-defined URLs (one per line). This setting can be used to create a short list of important URLs to be warmed up first or refreshed more frequently.
  
-  * Absolute paths of the files containing the list of custom-defined URLs. These should contain 1 URL per line. These URLs are relative to the store baseURL (without http://​domain/​storepath). You can create a short list of the most important URLs, so they can be warmed up first and refreshed more frequently.+  * Absolute paths of the files containing the list of custom-defined URLs. These should contain 1 URL per line. These URLs are relative to the store baseURL (without ​''<​nowiki>​http://​domain/​storepath</​nowiki>''​). You can create a short list of the most important URLs, so they can be warmed up first and refreshed more frequently.
   * The file names here are an absolute path. Make sure you set the proper permissions on these files so they are readable by Magento.   * The file names here are an absolute path. Make sure you set the proper permissions on these files so they are readable by Magento.
   * These files can be updated whenever you want. When the crawler is invoked on each cycle, it will check if these files have changed. If they have, it will update its internal cache and restart crawling.   * These files can be updated whenever you want. When the crawler is invoked on each cycle, it will check if these files have changed. If they have, it will update its internal cache and restart crawling.
   * Custom Lists are set at the store level, and will follow the same rules you defined for the store, for example, what currencies to crawl.   * Custom Lists are set at the store level, and will follow the same rules you defined for the store, for example, what currencies to crawl.
-  * These lists only contain the relative URLs. When the crawler runs, it will add the proper base URL for that store. For example, the base URL could be something like https://​www.mystore.com/​en/​ , but your lists should only contain the rest of the URL without its base like “accessories.html”. Use only one URL per line.+  * These lists only contain the relative URLs. When the crawler runs, it will add the proper base URL for that store. For example, the base URL could be something like ''<​nowiki>​https://​www.mystore.com/​en/​</​nowiki>'' ​, but your lists should only contain the rest of the URL without its base like “accessories.html”. Use only one URL per line.
  
 ===== Auto Collect List Interval ===== ===== Auto Collect List Interval =====
Line 128: Line 141:
 ===== Remove from Auto Collect List ===== ===== Remove from Auto Collect List =====
 //Available since LiteMage version 1.2.0// //Available since LiteMage version 1.2.0//
 +
 +//**Note:** This setting is hidden unless the Enable Auto Collect setting is set to “Yes”//
  
 Set on a per store basis. Remove from Auto Collect List if a URL is visited less than this number of times (excluding LiteMage crawlers) within the amount of time defined in the Auto Collect Time Frame (hours). ​ Set on a per store basis. Remove from Auto Collect List if a URL is visited less than this number of times (excluding LiteMage crawlers) within the amount of time defined in the Auto Collect Time Frame (hours). ​
Line 136: Line 151:
 ===== Auto Collect Time Frame ===== ===== Auto Collect Time Frame =====
 //Available since LiteMage version 1.2.0// //Available since LiteMage version 1.2.0//
 +
 +//**Note:** This setting is hidden unless the Enable Auto Collect setting is set to “Yes”//
  
 Set on a per store basis. Auto collect counter will be reset after this time frame (in hours). Set on a per store basis. Auto collect counter will be reset after this time frame (in hours).
  • Admin
  • Last modified: 2016/09/16 21:13
  • by Rob Holda