You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/OPTIONS.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@ PhpFastCache has some options that you may want to know before using them, here'
2
2
3
3
### File-based drivers options *
4
4
***path** See the "**Host/Authenticating options**" section
5
-
***default_chmod**_| int>octal (default: 0777)_`[>=V4]` This option will define the chmod used to write driver cache files.
5
+
***default_chmod**_| int>octal (default: 0777)_`[>=V4, <V7]` This option will define the chmod used to write driver cache files.
6
+
***defaultChmod**_| int>octal (default: 0777)_`[>=V7]` New configuration name of `default_chmod` as of V7
6
7
***securityKey**_| string (default: 'auto')_`[>=V4]` A security key that define the subdirectory name. 'auto' value will be the HTTP_HOST value.
7
8
***htaccess**_| bool (default: true)_`[>=V4]` Option designed to (dis)allow the auto-generation of .htaccess.
8
9
***autoTmpFallback**_| bool (default: false)_`[>=V6]`Option designed to automatically attempt to fallback to temporary directory if the cache fails to write on the specified directory
@@ -13,6 +14,7 @@ PhpFastCache has some options that you may want to know before using them, here'
13
14
14
15
### Global options
15
16
***fallback**_| string|bool_ (default: false)`[>=V4.2]` A driver name used in case the main driver stopped working. E.g. a missing php extension.
17
+
***fallbackConfig**_| ConfigurationOption|null_ (default: null)`[>=V7]` A dedicated `ConfigurationOption` object for the `fallback` driver, if needed.
16
18
***compress_data**_| bool (default: false)_`[>=V4.3]` Compress stored data, if the backend supports it. Currently only supported by _Memcache(d)_ driver.
17
19
***limited_memory_each_object**_| int (default: 4096)_`[>=V4.2]` Maximum size (bytes) of object stored in memory. Currently only supported by _Cookie_ driver.
18
20
***defaultTtl**_| int (default: 900)_`[>=V5]` This option define a default ttl (time-to-live, in seconds) for item that has no specified expiration date/ttl.
0 commit comments