Use less caching on mobile platforms

We don't want to grab as much memory on mobile platforms than we do on desktop ones. Make the cache be based on the platform. This probably doesn't actually make much difference, but oh well.