Added fragment caching for uploads and messages