How to avoid optimize command for every small changes in laravel

Viewed 1320

I have made some changes on a Blade file using text editor and then refreshed my page but unable to see new added content and noticed that (it's loading the old content from Blade file).

code in route(web.php)

Route::get('about', function () {

             return view('about');
});

// code in view file(about.php)

<p>some text in about file</p>

I've tried the following:

php artisan optimize

then It worked fine i.e new added html lines visible but why for every small changes I need to optimize server

0 Answers
Related