Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Cache directory growing infinitely

Started by Vince42 6 years ago · 5 replies · 1481 views
6 years ago

I put up a plain site with just one word on the home page.

After one or two weeks I received a quote warning for the domain. The investigation of the folder showed that cache/doctrine is constantly growing. I cleared the cache in the admin panel, but I am weary that it (or Grav on other sites) could grow infinitely again.

Any idea what caused that behaviour and how to avoid that?

6 years ago

Did you try to remove the cache folder? (It will be regenerated automatically)

6 years ago

No, I did not try that yet, but will do it as soon as the folder is growing in size again.

How would the deletion of the folder hinder Grav from creating the cache files?

6 years ago

Thank you, that is also a good idea.

What really makes me wonder though is, why only this page keeps growing in size, while all other pages run seamlessly without any cache issues. Maybe I provided too few content on the site ... LOL.

6 years ago

I just checked the configuration of the site and purging and clearing the standard cache folders was already active for 4:00 and 3:00 ... weird. I just deactivated and reactivated the settings and switched from standard to all cache folders. Let's see, whether this will have an effect.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by David Meissner, 13 hours ago
0 21 13 hours ago
Installation & Hosting · by Anthony J Cervo, 5 days ago
3 114 3 days ago
Installation & Hosting · by motorambler, 2 months ago
9 787 4 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 396 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1230 4 months ago