S
S
Sergey delphinpro2020-11-24 19:36:25
Laravel
Sergey delphinpro, 2020-11-24 19:36:25

How to disable cache in laravel (details inside)?

Laravel creates a lot of files in the folder storage/framework/cache/data
Files like this:
5fbd35ee275f2789227709.png
Just some numeric value. Nothing else. And there are thousands of such files.
For two or three days at an inexpensive VPS tariff, the file system is completely clogged and the server hangs, giving the code 500.
5fbd36872addc722283943.png
The artisan cache: clear command helps. The command runs for several minutes.
After clearing the cache:
5fbd39ea08e15456436720.png

But that's not the point. I want to understand what it is, why it is needed, and how to turn it off or configure it correctly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya, 2020-11-24
@New_Horizons

To begin with, I would try to understand through the events what and who writes cache events to the cache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question