igorppbr / magento2-warmcache

A warm cache extension for Magento 2.
58 stars 22 forks source link

How to know is cache warmer is active and succesful via CRON? #7

Open onepack opened 4 years ago

onepack commented 4 years ago

Is there a cli command to check the status of the process via cron?

pdenissen commented 4 years ago

Hi, I'm curious for this too. Can you help us out @igorppbr ? The reason that I'm curious about this is because when I run bin/magento igorludgero:warmcache the cache warmer is finished immediately. At the frontend it doesn't feel like he's ready.

I hope you can help us out.

Thanks a lot.

onepack commented 4 years ago

@pdenissen I deleted the cache on a restricted environment so only I can access it. Then I ran the cli command and checked the cache folders (should have redis disabled to check this). I found out that the cache folders were generated but they are almost empty. Not until I start browsing the frontend the cache folders start filling up. So at this point I think the module is not working anymore in M2.3.5-p1 and php 7.3 like it was intended.

kriswen commented 4 years ago

I think you have to go into the admin panel, and enable the type of cache you want to warm up first. then run the cli command.