diff --git a/app/Http/Controllers/Admin/AreaController.php b/app/Http/Controllers/Admin/AreaController.php index 02ac360..da867ef 100644 --- a/app/Http/Controllers/Admin/AreaController.php +++ b/app/Http/Controllers/Admin/AreaController.php @@ -40,7 +40,8 @@ class AreaController extends Controller } } - return view('admin.areas.area-design', compact('area', 'valids')); + return response()->view('admin.areas.area-design', compact('area', 'valids')) + ->header('Cache-Control','public, max-age=31536000, immutable'); } public function designModel(Area $area, $model, $id)