We have been trying to extend LiteSpeed Cache to Magento. However, due to dynamic of the application, the effort is on hold. Here is why:
1. LiteSpeed Cache is for page caching
It caches entire page output which is deemed to be static. How to determine if a page is static or cacheable in Magento is another story. A regular product page, or a category page is OK to be cached only if all the pieces/blocks on that page are cacheable/static. However, most pages have dynamic blocks for things like display number of items in shopping cart, and/or items in the cart, product comparisons, etc.
For example, if a user (guest or logged-in) adds product to shopping cart and continue to navigate the site.
In such a case, page cache actually causes more trouble than good because user may not see shopping cart number of items gets updated right away. There is no good indicator to tell when shopping cart gets updated without digging the code and add some hack.
2. The solution for that (not all the blocks are cacheable) is to open a few holes on the page for dynamic updates so called "dynamic holes". The majority part of the page is static and can be cached. For the dynamic holes, data can be retrieved via lightweight operations.
However, it is not what LiteSpeed Cache can do at this point.
1. LiteSpeed Cache is for page caching
It caches entire page output which is deemed to be static. How to determine if a page is static or cacheable in Magento is another story. A regular product page, or a category page is OK to be cached only if all the pieces/blocks on that page are cacheable/static. However, most pages have dynamic blocks for things like display number of items in shopping cart, and/or items in the cart, product comparisons, etc.
For example, if a user (guest or logged-in) adds product to shopping cart and continue to navigate the site.
In such a case, page cache actually causes more trouble than good because user may not see shopping cart number of items gets updated right away. There is no good indicator to tell when shopping cart gets updated without digging the code and add some hack.
2. The solution for that (not all the blocks are cacheable) is to open a few holes on the page for dynamic updates so called "dynamic holes". The majority part of the page is static and can be cached. For the dynamic holes, data can be retrieved via lightweight operations.
However, it is not what LiteSpeed Cache can do at this point.