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
Last revision Both sides next revision
litespeed_wiki:cache:lscjoomla:configuration:esi [2019/12/09 21:29]
Eric Leu [Where to set]
litespeed_wiki:cache:lscjoomla:configuration:esi [2019/12/10 19:25]
Lisa Clarke Copyediting
Line 1: Line 1:
-====== LiteSpeed Cache for Joomla ​Support ​Settings ====== +====== LiteSpeed Cache for Joomla ​ESI Settings ====== 
-You can setup which Modules need to be rendered ​as ESI module ​with different type of views. ESI module cache is independent from page cache. AlsoESI modules ​may be shared by multiple pages with different cache settings.+ESI allows you to cache certain blocks on your site differently than the rest of the page. This is useful for eCommerce, for example, ​as you could cache a shopping cart module ​in private cache, while the rest of the page remained in public cache. 
 + 
 +LiteSpeed Cache for Joomla allows you to set up any module as an ESI block. ESI module cache is independent from page cache, ​and may be shared by multiple pages with different cache settings.
  
 {{:​litespeed_wiki:​cache:​lscjoomla:​joomla-esi.png?​direct&​800}} {{:​litespeed_wiki:​cache:​lscjoomla:​joomla-esi.png?​direct&​800}}
  
 ===== ESI Module Cache Types ===== ===== ESI Module Cache Types =====
 +There are three ways to cache an ESI module:
   * Public: ESI module will be cached, and the cache will be shared by all visitors   * Public: ESI module will be cached, and the cache will be shared by all visitors
   * Private: ESI module will be cached with a separate individualized copy for each visitor   * Private: ESI module will be cached with a separate individualized copy for each visitor
-  * None: ESI module will not be cached, regardless of whether the host web page is cached (not recommend) +  * None: ESI module will not be cached (not recommend) 
- +   
-===== Where to set ===== +ESI module cache settings work independently of the page cacheIt doesn'​t matter whether the page they appear on is in public cacheprivate cacheor is not cached.
-This option will be **Components > liteSpeed Cache** and we will see default **Normal Modules** be listed on the screen.  +
- +
-===== How to set ===== +
-Select module you want to be rendered from **Normal Modules** list and click **Render Modules as ESI** button. Then you are able to set **ESI Module Cache Type** from that module ​as well as cache TTL for that ESI Module +
- +
-===== Which type to choose ===== +
-**Public** ​is default ESI Module Cache Type option. You may want to apply **Private** toe.g. LoginShopping Cart modules for individual view. You only want to set **None** type when the module ​is not cache compatible +
- +
  
 +===== Where to Set =====
 +Navigate to **Components > LiteSpeed Cache**. You should see a list of **Normal Modules**.
  
 +===== How to Set =====
 +Select the listed module you want to be rendered as ESI, and click the **Render Modules as ESI** button. From there you will be prompted to set the **ESI Module Cache Type** as well as the cache TTL for that ESI Module. ​
  
 +===== Which Type to Choose =====
 +''​Public''​ is the default **ESI Module Cache Type** option. You may want to choose ''​Private''​ for modules with personalized information,​ such as Login and Shopping Cart modules. Only select ''​None''​ when the module is absolutely not cache compatible. Having any uncached content on a page will slow that page down dramatically,​ so if you can avoid having uncached ESI modules, we recommend that you do avoid it.
  
 +===== Revert Back to Normal Module =====
 +From the modules list, switch to **ESI Modules**. Select the module you want to revert, and click the **Render Module As Normal** button. The module will no longer be rendered as an ESI module.
  
  • Admin
  • Last modified: 2020/07/14 17:08
  • by Lisa Clarke