Large Cache

I am running v4.1.3 and the file cache. When the cache is cleared the entire site takes about 9G but over time the cache directory will grow to around 100G. That’s huge. Any idea why and how to curb this?


Chris Edwards

Hello Chris,

Probably template cache is not auto cleared in your cart. Please, check the rights to the folder var/cache, they should be set as 777.

Best regards, Alt-team

Bad idea to make any directory 777 within your site. The mode/ownership should be based on the PHP mode your site is running in. Work with your host to determine if 775/664 or 755/644 will work for you. The most restrictive will be best.