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:litemage2:stats [2018/11/14 19:16]
Jackson Zhang
litespeed_wiki:cache:litemage2:stats [2018/11/14 22:22]
Jackson Zhang
Line 1: Line 1:
-====== Understanding LiteMage ​cache stats ====== +====== Understanding LiteMage ​Cache Stats ====== 
-Quite often, we have been asked different ​questions about LiteMage cache stats and asked us to verifyif the LiteMage is running ​ok on the store? Why "Full Page Hits" ​and "Private Cache Hits" ​showing as "0"?+We are often asked questions about LiteMage cache stats, for exampleIf LiteMage is running ​OK on the store, why are **Full Page Hits** and **Private Cache Hits** showing as ''​0''​? 
 + 
 +Let's look at all of the elements of the stats page, and see what they mean. Navigate to **Magento 2 Admin > System > Cache Management > LiteMage Cache Management**. You will see some stats like these: 
 + 
 +===== New Version of LiteMage Cache Stats ===== 
 + 
 +For the new version of LiteMage, cache stats will look like the following:​ 
 +{{ :​litespeed_wiki:​cache:​litemage2:​litemage2-cache-stats-new.png?​800 |}} 
 + 
 +  * **Current LiteMage Plan**: It will show your current plan, which would be ''​LiteMage Starter'',​ ''​LiteMage Standard'',​ or ''​LiteMage Unlimited''​. 
 +  * **Public Cache Hits**: Number of requests that hit public cache since last Flush All. This is the number you are looking for to see how many public cache hits you have, and it should not be ''​0''​.  
 +  * **LiteMage Cached Objects**: Current publicly cached object count. There should be more than ''​0''​ of these. 
 +  * **Not Cached (Limited by Plan)**: Number of requests not served from cache due to plan limitations. You can upgrade your LiteMage plan if this value is not ''​0''​. If your store'​s cached objects hasn't reached the limit yet, it will show ''​0''​. This is fine. It means your store is in good shape and has not reached the cache object limit yet. 
 + 
 +===== Old version of LiteMage Cache Stats ===== 
 +For some old version of LiteMage, cache stats will look like the following:
  
 {{ :​litespeed_wiki:​cache:​litemage2:​litemage2-cache-stats.png?​800 |}} {{ :​litespeed_wiki:​cache:​litemage2:​litemage2-cache-stats.png?​800 |}}
    
-When you go to LiteMage Cache Managment section from your Magento 2 admin -> System -> Cache Management -> LiteMage Cache Management, you will see some stats like the above. +  * **Current LiteMage Plan**: It will show your current plan, which would be ''​LiteMage Starter'',​ ''​LiteMage ​Standard'',​ or ''​LiteMage ​Unlimited''​
- +  * **Public Cache Hits**: Number of requests that hit public cache since last Flush AllThis is the number you are looking for to see how many public cache hits you have, and it should not be ''​0''​.  
-  ​''​Current LiteMage Plan''​: It will show your current ​LiteMage ​plan, LiteMage Starter/Standard/Unlimited. +  * **Full Page Hits**: Number of requests fully served from cache (i.e., no PHP invoked) since the last Flush All. For Magento 2, //each page does not count as full page//which is why you see ''​0''​. This is absolutely correct. 
-  * ''​Public Cache Hits''​: Number of requests that hit public cache since last flush allIt is the number you are looking for to see how many public cache hit and it should not be "0".  +  * **LiteMage Cached Objects**: Current publicly cached object count. ​There should be more than ''​0''​ of these
-  * ''​Full Page Hits''​: Number of requests fully served from cache (no PHP invoked) since the last flush all. For Magento 2, each page does not count as full page, hence "0" ​is absolutely correct ​if you see such here.  +  * **Available Plan Options**Explanation of the three available plans and their cached objects ​limits.  
-  * ''​LiteMage Cached Objects''​: Current publicly cached object count. ​You are supposed to cached objects other than "0"+  * **Private Cache Hits**: Number of requests that hit private cache since last Flush All. Magento 2 doesn'​t enable private cache, so this is likely to be ''​0''​
-  * ''​Available Plan Options''​It explains ​the three plan cached objects ​limitLiteMage Starter(1,​500 publicly cached objects), LiteMage Standard(25,​000 publicly cached objects),​and LiteMage Unlimited(unlimited publicly cached objects) +  * **Partial Page Hits**: Number of requests partially served from cache (i.e., some data is retrieved from Magento) since last Flush AllThis could be ''​0'' ​for your store. 
-  * ''​Private Cache Hits''​: Number of requests that hit private cache since last flush allIt is totally fine if it shows "​0"​ since Magento 2 doesn'​t enable private cache at all+  * **Not Cached (Limited by Plan)**: Number of requests not served from cache due to plan limitations. You can upgrade your LiteMage plan if this value is not ''​0''​. If your store'​s ​cached objects ​hasn't reached ​the limit yet, it will show ''​0''​. This is fine. It means your store is in good shape and has not reached the cache object limit yet.
-  * ''​Partial Page Hits''​: Number of requests partially served from cache (some data retrieved from Magento) since last flush allDon'​t ​be surprised if it shows "0" ​for your store. +
-  * ''​Not Cached (Limited by Plan)''​: Number of requests not served from cache due to plan limitation. You can upgrade your LiteMage plan if this value is not zero. If your store cached objects ​does reach the limit yet, it will show "0" and it is absolutely ​fine since your store is in good shape and has not reached the cache object limit yet.+
  
-To sum, you should see some numbers on "Public Cache Hits" ​and "LiteMage Cached Objects", otherwise it could be something wrong. ​ For all the rest such as "Full Page Hits""Private Cache Hits"" ​Partial Page Hits" ​etc, don'​t ​be panic if you see "0" for them and you LiteMage doesn't have any problem+To summarize, you should see some positive ​numbers on **Public Cache Hits** and **LiteMage Cached Objects**, otherwise it could indicate ​something ​is wrong. ​ For all of the others, ​such as **Full Page Hits****Private Cache Hits****Partial Page Hits** etc, don't panic if you see a ''​0''. It's perfectly normal.
  • Admin
  • Last modified: 2020/07/08 19:36
  • by Lisa Clarke