lundi 20 mai 2019

Laravel storing many gigabytes of cache storage files and does not automatically erase old cache

I'm using Laravel 5.8.12

I am noticing that laravel /storage is saving over 10gb of cache storage. And doesn't seem to clear up.

But why is it constantly building cached files? Isn't there suppose to be a garbage collector or automated cache clear/replace.

This does not seem sustainable.

To confirm, all of this data is being stored in /storage/framework/cache

I have not changed the default settings in the cache config.

Yes, I know I can create my own cache clear script, but the point is, why is it doing this and how do I prevent it from happening. It will take the remaining disk space on the server...



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire