Understanding LiteMage Cache Stats

We are often asked questions about LiteMage cache stats, for example: If 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:

For the new version of LiteMage, cache stats will look like the following:

  • 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.

For some old version of LiteMage, cache stats will look like the following:

  • 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.
  • 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 a full page, which is why you see 0. This is absolutely correct.
  • LiteMage Cached Objects: Current publicly cached object count. There should be more than 0 of these.
  • Available Plan Options: Explanation of the three available plans and their cached objects limits.
  • 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.
  • Partial Page Hits: Number of requests partially served from cache (i.e., some data is retrieved from Magento) since last Flush All. This could be 0 for your store.
  • 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.

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: 2018/11/14 22:22
  • by Jackson Zhang