Skip to content
Merged
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
9 changes: 7 additions & 2 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2847,9 +2847,14 @@ Can also be the service id of another cache pool where tags will be stored.
default_lifetime
""""""""""""""""

**type**: ``integer``
**type**: ``integer`` | ``string``

Default lifetime of your cache items in seconds.
Default lifetime of your cache items. Given an integer value to set the default
lifetime in seconds. A string value could be ISO 8601 time interval, like ``"PT5M"``
or a PHP date expression that is accepted by ``strtotime()``, like ``"5 minutes"``.

If no value is provided, the cache adapter will fallback to the default value on
the actual cache storage.

provider
""""""""
Expand Down