Simple caching for Mac and iOS