A
A
Alinw2020-10-09 10:54:40
Laravel
Alinw, 2020-10-09 10:54:40

How to clear laravel cache for shared hosting?

Similar questions have been asked before, both here and online. But I didn't find an answer.
Cleared the storage/framework/views folder - didn't help
Wrote in web.php:

Route::get('/clear-cache', function() {
   Artisan::call('cache:clear');
    return "Cache is cleared";
});
404 error

Help the kettle to solve this difficulty.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-10-09
@Sanes

php artisan optimize:clear

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question