pass proper data to disk cache (fixes #9)