This is an old revision of the document!
All ESI blocks including shopping cart, my account and the whole footer missing
Problem: When enabling LiteMage with some Magento extensions, shopping cart and my account etc in the header and my whole footer are missing. Basically, all ESI blocks missing.
The correct header should look like:
The correct footer should look like:
Cause: These “other” extensions (HTML minifier) attempt to parse the web page containing LiteMage's ESI tags while being unfamiliar with the ESI syntax, and so stripping them. For example, <esi:include> and <esi:inline> tags would become <include> and <inline>. This will cause the ESI content to not be parsed and processed by LiteSpeed Web Server, causing shopping cart, my account, footer and other ESI blocks are disappear.
Solution: If you can locate the extension(HTML minifier) and disable it, everything should be back to normally.
Alternatively, You can try LiteSpeed specific ESI syntax setting in LiteMage configuration within Magento Admin: Navigate to System > Configuration > LITEMAGE CACHE > LiteMage Configuration, in General, Settings, set “Use Alternative ESI Syntax” to “Yes”. Enabling this setting will change the ESI Syntax used by LiteMage to something only itself and LiteSpeed Web Server are aware of. With the new syntax being used, other extensions should no longer alter LiteMage's ESI tags and your web pages should display properly.