Added summit listing to cache
Change-Id: Ib70b1f5718844bb24e2ee8efbb032b9e92a3b5ab
This commit is contained in:
parent
3a9f13764c
commit
4d99bfa1b1
@ -90,7 +90,7 @@ Route::group([
|
||||
// summits
|
||||
Route::group(array('prefix' => 'summits'), function () {
|
||||
|
||||
Route::get('', 'OAuth2SummitApiController@getSummits');
|
||||
Route::get('', [ 'middleware' => 'cache:'.Config::get('cache_api_response.get_summits_response_lifetime', 600), 'uses' => 'OAuth2SummitApiController@getSummits']);
|
||||
|
||||
Route::group(array('prefix' => '{id}'), function () {
|
||||
|
||||
|
@ -16,4 +16,5 @@ return [
|
||||
'get_summit_response_lifetime' => env('CACHE_API_RESPONSE_GET_SUMMIT_LIFETIME', 300),
|
||||
'get_event_feedback_response_lifetime' => env('CACHE_API_RESPONSE_GET_EVENT_FEEDBACK_LIFETIME', 300),
|
||||
'get_published_event_response_lifetime' => env('CACHE_API_RESPONSE_GET_PUBLISHED_EVENT_LIFETIME', 300),
|
||||
'get_summits_response_lifetime' => env('CACHE_API_RESPONSE_GET_SUMMITS_LIFETIME', 600),
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user