I
I
Ivan Ivanov2019-03-10 13:26:13
Laravel
Ivan Ivanov, 2019-03-10 13:26:13

How to disable caching in laravel?

What is the problem: Here I am writing such a code, I change something, I go to see the changes, but they are not there. I clean the browser cache, I clean it through artisan, I try to log in from other devices (sometimes, by the way, it helps). And the page remains the same. I keep writing and writing something else, but the page doesn't care. After a while, things do change. How to fix it? Maybe I'm reading something wrong?
Writing:

php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan config:clear
php artisan clear

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Crash XD, 2019-03-12
@crashxd

Perhaps the server cache is triggered?
Check your .htaccess or apache/nginx settings for caching rules .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question