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 Both sides next revision
litespeed_wiki:cache:litemage:troubleshooting:general [2016/05/06 21:44]
Long Hu [Turning On Maintenance Mode While LiteMage Is Enabled]
litespeed_wiki:cache:litemage:troubleshooting:general [2016/05/06 21:56]
Long Hu [Pop-ups Will Sometimes Not Appear]
Line 172: Line 172:
 When using LiteMage in conjunction with a JS/CSS Compressor (such as the [[http://​potatocommerce.com/​compressor.html|PotatoCommerce Compressor]]),​ you may notice that some pop-ups, such as the list of items contained in a customer’s shopping cart, may not appear when being moused over for example. When using LiteMage in conjunction with a JS/CSS Compressor (such as the [[http://​potatocommerce.com/​compressor.html|PotatoCommerce Compressor]]),​ you may notice that some pop-ups, such as the list of items contained in a customer’s shopping cart, may not appear when being moused over for example.
  
-The reason this is happening is because JS/CSS Compressors create and store a separate compressed file. As the cart (in this example) is a private block, LiteMage punches a hole there. Now when the page is loaded, the cart is served from LiteMage, which the compressor does not know about, meaning the javascript will not be processed by the compressor correctly. Because of this, when you mouse over the cart, javascript will not be properly triggered and nothing will be displayed. ​+The reason this is happening is because JS/CSS Compressors create and store a separate compressed file. As the cart (in this example) is a private block, LiteMage punches a hole there. Now when the page is loaded, the cart content ​is served from LiteMage ​ESI response, which the compressor does not know about, meaning the javascript will not be processed by the compressor correctly. Because of this, when you mouse over the cart, javascript will not be properly triggered and nothing will be displayed. ​
  
 But What about the times that the pop-up does appear? It is possible that javascript somewhere else on your web page is being triggered and properly resetting the pop-up. But What about the times that the pop-up does appear? It is possible that javascript somewhere else on your web page is being triggered and properly resetting the pop-up.
  • Admin
  • Last modified: 2016/05/06 21:56
  • by Long Hu