On linux ~/.cache provides a location to store small cached files, like the generated mako templates used for html generation and for generated tests which survives reboots. This provides a small speedup to build time and to html generation. On non-linux this continues to use the temporary directory to store these files.