Added caching to snapchat