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/util-caches.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,18 @@ The [`DownloadCache`][] is the most generic of the three caches. It allows you
48
48
definitialize(cache_root=Dir.tmpdir)
49
49
```
50
50
51
+
### Configuration
52
+
For general information on configuring the buildpack, refer to [Configuration and Extension][].
53
+
54
+
Caching can be configured by modifying the [`config/cache.yml`][] file.
55
+
56
+
| Name | Description
57
+
| ---- | -----------
58
+
| `remote_downloads` | This property can take the value `enabled` or `disabled`. <br><br>The default value of `enabled` means that the buildpack will check the internet connection and remember the result for the remainder of the buildpack invocation. If the internet is available, it will then be used to download files. If the internet is not available, cache will be consulted instead. <br><br>Alternatively, the property may be set to `disabled` which avoids the check for an internet connection, does not attempt downloads, and consults the cache instead.
59
+
60
+
[Configuration and Extension]: ../README.md#Configuration-and-Extension
The [`ApplicationCache`][] is a cache that persists files into the application cache passed to the `compile` script. It examines `ARGV[1]` for the cache location and configures itself accordingly.
0 commit comments