Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/cacheable.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//Default values for the Cacheable trait - Can be overridden per model
return [
//How long should cache last in general?
//Set TTL to 0 for disable caching (ex. config('app.debug') ? 0 : 300)
'ttl' => 300,
//By what should cache entries be prefixed?
'prefix' => 'cacheable',
Expand Down