โšก Cache

Driver: file

Cache::put()

Cache::get('demo_key')

null โ€” key not set or expired

Cache::remember()

Computed at 2026-06-21 23:31:04

Cached for 60s. Reload after expiry to see new timestamp.

Cache::forget()

Cache::put('key', $val, $ttl);

Cache::get('key', $default);

Cache::remember('key', $ttl, fn() => ...);

Cache::forget('key');

Cache::flush();

Cache::has('key');

Cache::increment('counter');

Cache::tags(['a','b'])->put(...);