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:general_settings [2016/07/18 18:59]
Rob Holda [Separate Cache Copy for Customized Cookie Values]
litespeed_wiki:cache:litemage:configuration:general_settings [2017/06/06 21:20] (current)
Eric Leu [Default Public Cache TTL]
Line 19: Line 19:
 ===== Default Public Cache TTL =====  ===== Default Public Cache TTL ===== 
  
-Set on a per store basis. Determines how long (in seconds) public cached pages and data are stored for. The recommended value is 28800.+Set on a per store basis. Determines how long (in seconds) public cached pages and data are stored for. The recommended value is 86400.
  
-  * Change this setting based on your store’s needs. If your store updates frequently, set this to a lower value, otherwise, set it to a higher value. The default setting is hours (28800 seconds).+  * Change this setting based on your store’s needs. If your store updates frequently, set this to a lower value, otherwise, set it to a higher value. The default setting is 24 hours (86400 seconds).
  
 ===== Default Private Cache TTL =====  ===== Default Private Cache TTL ===== 
Line 29: Line 29:
   * Each user’s private data is stored in private cache, this value can be in sync with your PHP session timeout and Magento session timeout.   * Each user’s private data is stored in private cache, this value can be in sync with your PHP session timeout and Magento session timeout.
  
 +===== Home Page TTL =====
 +
 +Set on a per store basis. Determines how long (in seconds) the home page is stored for.
 +
 +  * Use this setting to specify a different TTL for the home page.
 +  * By default, this setting will use the Default Public Cache TTL setting'​s value.
 ===== Track Recently Viewed Products =====  ===== Track Recently Viewed Products ===== 
  
Line 44: Line 50:
   * For example, if you have a wholesale group that sees different prices than regular users, you can set this to “Yes”. This feature will be improved in future to allow you specify which user group it applies to.   * For example, if you have a wholesale group that sees different prices than regular users, you can set this to “Yes”. This feature will be improved in future to allow you specify which user group it applies to.
  
-===== Separate Cache Copy for Customized Cookie Values =====  
- 
-Global setting. This setting has been retired since 1.0.11 as using rewrite rules is more efficient. Add the below rewrite rule in .htaccess: RewriteRule .* - [E=cache-vary:​cookie_name] 
-  ​ 
-  * For more information,​ check out our **[[litespeed_wiki:​cache:​litemage:​customization:​views-based-on-cookie-values|wiki page]]**. 
  
 ===== Flush Product and Categories When Product Qty Changes ===== ===== Flush Product and Categories When Product Qty Changes =====
Line 61: Line 62:
   * **Flush product when stock status changes, do not flush categories when stock status or quantity change** - This setting is useful if your product page displays differently when the product is out of stock and the category page does not.   * **Flush product when stock status changes, do not flush categories when stock status or quantity change** - This setting is useful if your product page displays differently when the product is out of stock and the category page does not.
   * **Always flush product and categories when quantity or stock status change** - This setting is useful if both your product page and associated category pages show product quantities and display differently when the product is out of stock.   * **Always flush product and categories when quantity or stock status change** - This setting is useful if both your product page and associated category pages show product quantities and display differently when the product is out of stock.
 +
 +===== Mobile Theme =====
 +Set on a per website basis. Set this only if using an unresponsive themes with a different mobile template theme. ​
 +
 +Adding your mobile template theme to this option will add an extra layer of protection against cache contamination by checking the detected theme against the entered value.
 +
 +  * Setting this option is required to use the **Crawl for Mobile Views** option.
 +
 ===== Use Alternative ESI Syntax =====  ===== Use Alternative ESI Syntax ===== 
  
  • Admin
  • Last modified: 2016/07/18 18:59
  • by Rob Holda