added cache to design page

master
A1Gard 2 weeks ago
parent 96453239b7
commit 6f17ba0f23

@ -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) public function designModel(Area $area, $model, $id)

Loading…
Cancel
Save