Warning: Undefined property: stdClass::$country_name in /var/www/html/prod/suresh/pagecounter.php on line 10

Warning: Undefined property: stdClass::$city in /var/www/html/prod/suresh/pagecounter.php on line 11

Warning: Undefined array key "HTTP_REFERER" in /var/www/html/prod/suresh/pagecounter.php on line 25

How to remove Laravel cache

Clearing Laravel application cache using artisan commands is very easy to do. Sometimes it is very difficult to see changes on web pages due to the caching mechanism in our application specifically while development. So here I am sharing a few commands that will help you remove the cache from your application:

1) Clearing Application Cache

php artisan cache:clear

2) Clearing route cache:

php artisan route:cache

3) Clearing view cache:

php artisan view:clear

4) Clearing config cache:

php artisan config:cache

5) Clearing Cache facade value:

php artisan cache:clear 

Your feedbacks are most welcome..