Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:cache:litemage2:troubleshooting:catch-catelog-no-cache-product [2017/11/14 17:24] Jackson Zhang created |
litespeed_wiki:cache:litemage2:troubleshooting:catch-catelog-no-cache-product [2017/11/14 18:46] Jackson Zhang |
||
---|---|---|---|
Line 73: | Line 73: | ||
Hence we identified the following which caused the problem. | Hence we identified the following which caused the problem. | ||
code/Lof/RewardPointsBehavior/view/frontend/layout/catalog_product_view.xml: <block class="Lof\RewardPointsBehavior\Block\Buttons\Facebook\Like" name="lrw.fb.scripts" template="scripts.phtml" cacheable="false" /> | code/Lof/RewardPointsBehavior/view/frontend/layout/catalog_product_view.xml: <block class="Lof\RewardPointsBehavior\Block\Buttons\Facebook\Like" name="lrw.fb.scripts" template="scripts.phtml" cacheable="false" /> | ||
+ | |||
+ | If no cache for the whole site, most likely you will find one of the ''module's default.xml'' ''cacheable="false"''. | ||
+ | code/Lof/RewardPointsBehavior/view/frontend/layout/default.xml: <block class="Lof\RewardPointsBehavior\Block\Buttons\Facebook\Like" name="lrw.fb.scripts" template="scripts.phtml" cacheable="false" /> | ||
How to make it cacheable then? | How to make it cacheable then? |