diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-09T09·55+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-09T09·55+0200 |
commit | c1f04fae350acf9d72c56ef4f83037b479f25ab0 (patch) | |
tree | a6f257952e49bf4077efc0a81adf5e21cfef41ac /src/libexpr/download.cc | |
parent | 60340ce3e2f793caf1704997a4d7a5a066e9ef24 (diff) |
Implement a TTL on cached fetchurl/fetchTarball results
This is because we don't want to do HTTP requests on every evaluation, even though we can prevent a full redownload via the cached ETag. The default is one hour.
Diffstat (limited to 'src/libexpr/download.cc')
0 files changed, 0 insertions, 0 deletions