simple preview caching. references #14