title: How to clear Laravel route caching on server
body: <p>This is regarding route cache on localhost</p>
  
  <h1>About Localhost</h1>
  
  <p>I have 2 routes in my route.php file. Both are working fine. No problem in that. I was learning route:clear and route:cache and found a small problem below.</p>
  
  <p>if I comment any one route in my route.php file and then run below command</p>
  
  <pre><code>php artisan route:cache
  </code></pre>
  
  <p>This will keep the route disabled because the route list is in cache now. Now, go to route.php file and try to remove commented route and then try to run that enabled url. still it will show 404 because I need to remove cache by using below command</p>
  
  <pre><code>php artisan route:clear
  </code></pre>
  
  <p>So far everything is understood in localhost. No problem in that.</p>
  
  <h1>After deploying on shared hosting server on godaddy</h1>
  
  <p>Question : How can I remove the route cache on server?</p>