added guard that enabled texture caching only for ios.