# Routes

# Set cache & headers from Route

Route::middleware('cache.headers:no_cache,max-age=300,private;etag')->group(function () {
    Route::get('page', [PageController::class, 'index'])->name('page');
});
1
2
3