Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cache:lscps:troubleshooting:messy-layout-after-clear-smarty-cache [2020/07/01 16:41] Lisa Clarke |
litespeed_wiki:cache:lscps:troubleshooting:messy-layout-after-clear-smarty-cache [2020/08/11 19:16] (current) Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Clear Both Smarty Cache and LiteSpeed Cache ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lscache/lscps/troubleshoot/~~ |
- | + | ||
- | There is sometimes confusion, when it comes to PrestaShop caching. Whenever possible, be specific about which cache should be cleared. The phrase "clear the cache" could mean "clear PrestaShop's internal Smarty Cache," or it could mean "purge LiteSpeed Cache." Maybe it means both. | + | |
- | + | ||
- | If you make changes to your theme, please remember to clear //both// Smarty Cache and LiteSpeed Cache. Failure to clear both caches may lead to messy layout problems. | + | |
- | + | ||
- | {{ :litespeed_wiki:cache:lscps:troubleshooting:prestshop-litespeed-cache-plugin-flushcache-messy-layout.png?800 |}} | + | |
- | + | ||
- | ===== Clearing Smarty Cache ===== | + | |
- | PrestaShop Smarty Cache can be found on the ** Configure > Advanced Parameters > Performance > Smarty** menu. The **Clear cache** button on the top of the page clears Smarty Cache. | + | |
- | + | ||
- | When your shop has been modified, especially your theme, you will need to clear Smarty Cache. | + | |
- | + | ||
- | {{ :litespeed_wiki:cache:lscps:troubleshooting:prestashop-smarty-cache.png?800 |}} | + | |
- | + | ||
- | ===== Clearing LiteSpeed Cache ===== | + | |
- | When the LiteSpeed Cache module is installed, it can be found on the ** IMPROVE > Module Manager > LiteSpeed Cache Plugin** menu. Click **Configure** to see all of the available LiteSpeed Cache settings. | + | |
- | + | ||
- | {{ :litespeed_wiki:cache:lscps:troubleshooting:prestshop-litespeed-cache-plugin-module.png?800 |}} | + | |
- | + | ||
- | The ***Flush All PrestaShop Pages** button on the top of the page clears LiteSpeed Cache. | + | |
- | + | ||
- | {{ :litespeed_wiki:cache:lscps:troubleshooting:prestshop-litespeed-cache-plugin-flushcache.png?800 |}} | + |