View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#284
Originally Posted by maxximuscool View Post
Every time you click on "Most Viewed" the app said "No videos" and takes another 10seconds to see the Loading.... and load the page. Can the app not cache the list of video the first time it load the list off the server"?
10 seconds? Are you using a 56k modem?

The problem with caching YouTube video lists is that they change. A user's subscriptions and playlists are cached, and updated when the user performs an action that alters them, because caching makes sense in these cases. It does not make sense in cases where changes are made server-side. The YouTube API would need to offer some kind of push notification for it to work.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following User Says Thank You to marxian For This Useful Post: