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
Previous revision
Last revision Both sides next revision
litespeed_wiki:cache:litemage:troubleshooting:somes-cached-somes-not [2017/10/24 18:15]
Jackson Zhang
litespeed_wiki:cache:litemage:troubleshooting:somes-cached-somes-not [2017/12/28 21:01]
Johathan Kagan
Line 6: Line 6:
 Please check the configuration of the [[litespeed_wiki:​cache:​litemage:​configuration:​system-defined_cache_rules|system-defined cache route]] and the [[litespeed_wiki:​cache:​litemage:​configuration:​user-defined_cache_rules|user-defined cache rules]]. Please check the configuration of the [[litespeed_wiki:​cache:​litemage:​configuration:​system-defined_cache_rules|system-defined cache route]] and the [[litespeed_wiki:​cache:​litemage:​configuration:​user-defined_cache_rules|user-defined cache rules]].
  
-Enable the debug log (normally at var/​log/​system.log)+[[litespeed_wiki:​cache:​litemage:​configuration:​developer_testing#​enable_debug_log|Enable the debug log]] (normally at ''​var/​log/​system.log''​).
  
  {{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage-enable-debug-logging.png?​600 |}}  {{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage-enable-debug-logging.png?​600 |}}
  
- Then browse ​the pages/​categories ​with issues from browser, ​you may see something like the following ​in the log:+Visit the problematic ​pages/​categories ​in your browser, ​and then check the log: 
 + 
 +<​code>​ 
 +cd var/log 
 +grep "route not cacheable"​ litemage.log  
 +</​code>​ 
 + 
 +You may see something like the following:
  
 <​code> ​ <​code> ​
Line 23: Line 30:
 </​code>​ </​code>​
  
-You should be able to get the above log through: +The log entries indicate that the routes ''​brand_brand_index''​ and ''​brand_brand_view'',​ or ''​mana_optionPage_view''​ and ''​mana_attributePage_view'',​ are not in the system default-enabled cache routes and should be added manually.  
-<​code>​ + 
- cd var/log +Navigate ​to **LiteMage Config > User-Defined Cache Rules > Cacheable Routes** and add the missing routes''​brand_brand_view''​ and ''​brand_brand_index'',​ ''​mana_optionPage_view''​ and ''​mana_attributePage_view'',​ or similar views as indicated by the debug log. 
- grep "route not cacheable"​ system.log  +
-</​code>​+
  
-The log shows routes ''​brand_brand_index''​ and ''​brand_brand_view''​ or ''​mana_optionPage_view''​ and ''​mana_attributePage_view''​ are not in the system default-enabled cache routes and should be added manually. Navigate to **LiteMage Config > User-Defined Cache Rules > Cacheable Routes** and add the missing routes: ''​brand_brand_view''​ and ''​brand_brand_index'' ​or ''​mana_optionPage_view''​ and ''​mana_attributePage_view''​ or something similar as log indicated+Issues can still arise after completing ​the above steps if the URL is not a standard category ​or product page, because the cached URLs may not be tagged properly
  
-Issues can still arise after completing the above steps if the URL is not a standard category or product page, as the cached URLs will not be tagged properly. ​For example, if a product within the brand page is updated, the standard Magento categories and product pages will be auto-purged,​ but the brand page will not. +For example, if a product within the brand page is updated, the standard Magento categories and product pages will be auto-purged,​ but the brand page will not. To resolve this issue, [[litespeed_wiki:​cache:​litemage:​troubleshooting:​warmup#​defining_a_custom_warm_up_url_list|define a custom warm-up URL list]] that will crawl these pages in more frequent intervals, such as every 30 minutes.
-To resolve this issue, [[litespeed_wiki:​cache:​litemage:​troubleshooting:​warmup#​defining_a_custom_warm_up_url_list|define a custom warm-up URL list]] that will crawl these pages in more frequent intervals, such as every 30 minutes.+
  
 See [[litespeed_wiki:​cache:​litemage:​configuration:​caching-additional-urls|Caching Additional URLs]] for more details. See [[litespeed_wiki:​cache:​litemage:​configuration:​caching-additional-urls|Caching Additional URLs]] for more details.
  • Admin
  • Last modified: 2017/12/28 21:01
  • by Johathan Kagan