more work on caching

Signed-off-by: William Rockwood <wrockwood@tadl.org>