adding ability to pass in appCacheDate