Differences

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

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:lscjoomla:configuration:esi [2019/12/10 19:25]
Lisa Clarke Copyediting
litespeed_wiki:cache:lscjoomla:configuration:esi [2020/07/14 17:08] (current)
Lisa Clarke Redirect to new Documentation Site
Line 1: Line 1:
-====== LiteSpeed Cache for Joomla ESI Settings ====== +~~REDIRECT>​https://​docs.litespeedtech.com/​lscache/​lscjoomla/settings/~~
-ESI allows you to cache certain blocks on your site differently than the rest of the pageThis 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}} +
- +
-===== 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 +
-  * Private: ESI module will be cached with a separate individualized copy for each visitor +
-  * None: ESI module will not be cached (not recommend) +
-   +
-ESI module cache settings ​work independently of the page cache. It doesn'​t matter whether the page they appear on is in public cache, private cache, or is not cached. +
- +
-===== 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