mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
feat: Add caching to streamer data retrieval
- Added caching mechanism to store and retrieve streamer data for API responses, improving performance. - Implemented cache forget method in StreamerPanelController for CRUD operations to update cached data accordingly.
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| API Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register API routes for your application. These
|
||||
| routes are loaded by the RouteServiceProvider and all of them will
|
||||
| be assigned to the "api" middleware group. Make something great!
|
||||
|
|
||||
*/
|
||||
use App\Http\Controllers\StreamerController;
|
||||
|
||||
Route::get('/streamers', [StreamerController::class, 'all']);
|
||||
|
||||
Reference in New Issue
Block a user