0

Some files in var/cache/ folders are as large as 300Mb is this considered as normal or something is wrong with my Magento? (see screenshot)

Iam running Magento ver. 2.4.0 with up to 2000 products, single customer group.

var/cache/

1

These are page cache files and they can be deleted, it seems your script does not clean up cache files and the size of the files & folder is growing constantly.

If you won't delete, then it will increase upto 400Mb after weeks 500 MB. I Have face the same problem. So it would be better if you can delete your cache file in every week by manually or using script.

And if You know it's completely safe to delete everything under var if you need storage space.

According to you,Your website has 2000 products,So it will always increase 100- 200 mb every week. So you can delete by script on every week.

Updated Answer

Note one more thing, if you won't delete then after sometime when there is shortage of storage then user won't able to login as session will not be created due to no size left on disk space. And the cart page will not work as well.,

| improve this answer | |
  • Iam interested to find out why some files in var/cache/ folders are as large as 300Mb. It does not seem appropirate to me and the server must process these files which mean to me loads of resorces are taken. – David Cermak Oct 15 at 19:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.