@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | return Response::view( 'shop::catalog.detail', $params ) |
| 59 | 59 | ->header( 'Cache-Control', 'max-age=10' ) |
| 60 | - ->header('Cache-Control', 'private'); |
|
| 60 | + ->header( 'Cache-Control', 'private' ); |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | return Response::view( 'shop::catalog.list', $params ) |
| 78 | 78 | ->header( 'Cache-Control', 'max-age=10' ) |
| 79 | - ->header('Cache-Control', 'private'); |
|
| 79 | + ->header( 'Cache-Control', 'private' ); |
|
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | |
@@ -112,8 +112,8 @@ discard block |
||
| 112 | 112 | $params['aibody'][$name] = Shop::get( $name )->getBody(); |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | - return Response::view('shop::catalog.suggest', $params) |
|
| 116 | - ->header('Content-Type', 'application/json') |
|
| 115 | + return Response::view( 'shop::catalog.suggest', $params ) |
|
| 116 | + ->header( 'Content-Type', 'application/json' ) |
|
| 117 | 117 | ->header( 'Cache-Control', 'max-age=300' ); |
| 118 | 118 | } |
| 119 | 119 | |
@@ -133,6 +133,6 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | return Response::view( 'shop::catalog.tree', $params ) |
| 135 | 135 | ->header( 'Cache-Control', 'max-age=10' ) |
| 136 | - ->header('Cache-Control', 'private'); |
|
| 136 | + ->header( 'Cache-Control', 'private' ); |
|
| 137 | 137 | } |
| 138 | 138 | } |
| 139 | 139 | \ No newline at end of file |