diff --git a/routes/api.php b/routes/api.php index da37571..16e631a 100644 --- a/routes/api.php +++ b/routes/api.php @@ -56,7 +56,7 @@ // Results routes Route::get('/results', 'SalmonResultController@index')->name('results'); -Route::get('/results/{salmon_id}', 'SalmonResultController@show')->name('results.show'); +Route::get('/results/{salmon_id}', 'SalmonResultController@show')->name('results.show')->middleware('cache.headers:public;max_age=86400'); // Players routes Route::get('/players/{screen_name}', function (Request $request, string $screenNameWithAt) {