summaryrefslogtreecommitdiff
path: root/src/WrDiskCache.cc
Commit message (Collapse)AuthorAgeFilesLines
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-15/+12
|
* More auto-converts by cpp11-migrateNils Maier2013-09-201-1/+1
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-5/+8
|
* Log size before flushTatsuhiro Tsujikawa2012-12-061-2/+2
|
* Added --disk-cache optionTatsuhiro Tsujikawa2012-12-031-0/+129
This option enables disk cache. If SIZE is 0, the disk cache is disabled. This feature caches the downloaded data in memory, which grows to at most SIZE bytes. The cache storage is created for aria2 instance and shared by all downloads. The one advantage of the disk cache is reduce the disk seek time because the data is written in larger unit and it is reordered by the offset of the file. If the underlying file is heavily fragmented it is not the case.