jeudi 14 mai 2020

How can I clear cache in Laravel from a hosting

I have a script made with laravel installed in my hosting, 3 days ago I changed the images of my site and the favicon, just today the update of the favicon was reflected, but not the images ...

I have tried to put

// Clear cache
Route :: get ('/ clear-cache', function () {
     Artisan :: call ('cache: clear');
     return "The cache was cleared";
});

in the path: /routes/web.php

But it doesn't work, also try to delete it manually in the folders where the cache is stored and nothing, everything remains the same.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire