Cache time test.

#6205 
@shushu wip?