got a basic directory-based cache working.