1

I am having hard time trying to figure out why my view change only a minute later.

Route::get('/allo', function () {
    return date("Y-m-d h:i:sa")."Allo Allo";
});

In this example, When I change the text from Allo Allo to Hello Hello and reload the browser at localhost:3000/allo, the change take affect only a minute later. I tried to empty the cache (as suggested in similar issues), restart the server, using cache killer extension but nothing change.

Am I missing something?

Asme Just
  • 1,287
  • 5
  • 27
  • 42

1 Answers1

2

In your php.ini file make sure:

opcache.revalidate_freq=60

is set to :

opcache.revalidate_freq=0

Angelin Calu
  • 1,905
  • 8
  • 24
  • 44