Skip to content
Grav 2.0 is officially stable. Read the announcement →
Installation & Hosting

Cache directory growing infinitely

Started by Vince42 5 years ago · 5 replies · 1100 views
5 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?

5 years ago

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

5 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?

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

5 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 antoinep, 3 weeks ago
8 367 3 weeks ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 225 7 months ago
Installation & Hosting · by rappluk, 9 months ago
0 257 9 months ago
Installation & Hosting · by N, 1 year ago
3 222 1 year ago
Installation & Hosting · by Youle, 1 year ago
1 160 1 year ago