made bitmap caching optional