using a dynamic cache size depending on whether the user is running the app on ipad or iphone