an example to show different levels of cache, and a test case for #588