Continue constructing image caching

Signed-off-by: Wu Xudong <tikiet@gmail.com>