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: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,13 @@ All current properties available shown below
19
19
require('To.ImageCache').config({
20
20
debug:true, //default "false"
21
21
expireTime:100000, // time in seconds, default 43200 = 12 hours
22
-
folder:'CustomFolder'// folder to store the cache in, default "ToCache"
22
+
folder:'CustomFolder', // folder to store the cache in, default "ToCache"
23
+
remoteBackup:true// iOS Only do you want the images to be backed up to iCloud?
23
24
});
24
25
```
25
26
27
+
The config can be changed at all times, between different files so support multiple folders, expiration times and file specfic backup properties. You only have to pass what you want to change from now on. No need to pass all config properties
0 commit comments