Introduction
When working on a project, the same files are often rebuilt. Waf is able to store and retrieve the object files from a cache. This cache is declared using the environment variable WAFCACHE.
$ export WAFCACHE=/tmp/WAFCACHE
$ mkdir -p $WAFCACHE
Details
The timestamps of the files retrieved from the cache are updated everytime the file copy occurs. It is thus possible to clean the least used files from the cache by time.
TODO: provide a script that clears the cache using a size limit (no more than 300Mb in $WAFCACHE)