Cache files fetched over HTTP.
Fixes in loaded & done functions.