make Google object caching optional