@extends('layouts.vertical', ['pageTitle' => 'SmartTables: Server-Side Mode']) @section('css') @endsection @section('page-title') @include('layouts.partials/app-pagetitle', ['pageTitle'=> 'SmartTables: Server-Side Mode', 'pageSubTitle1' => 'Data Visualization', 'pageSubTitle2'=> 'Smart Tables', 'pageSubText' => 'Loading the table with server side data.']) @endsection @section('content')
mock-server.php to load data via AJAX, data resets every 24 hours.
Configure with:
data: { type: 'ajax', source: 'API_URL', serverSide: true, method: 'GET', cacheDuration: 300000 }
Processing happens server-side; client only renders. Searched, paging, and sorting is cached
for 5 minutes.