Related to T148657. When only a cached or saved version of a page is available because a network request fails, show a snackbar to the user.
From @Kaartic:
I just wanted to give a suggestion. It would be useful if a //message// is displayed to the user that informs him that the page has been loaded from cache.=== User story
As a user with unreliable connectivity, Something like
>The page has been loaded from the cache.
orI want to be notified when an article I'm reading may not be the most recent because it is being retrieved from my history.
>Showing cached version=== Proposed solution
Similar to how we currently show a message in a toast to users when they are reading an article saved in a reading list, show a message to advise users when they're reading a cached version of the article.
This would be useful because the user would be aware that the page has been loaded from cache and not a //refreshed one//| //**Copy explorations**// | //The page has been loaded from the cache. //
|| //Showing cached version.//
|| //You are reading an offline version of this article saved on `DD Mmm YYYY`. Some users **may not be aware** that it is a cached version.
Firefox browser shows a message when an offline version of the page is loaded.
**Screen shot showing of Firefox showing message**//<-- Current message shown on reading list articles loaded when the user is offline.
| **Proposed copy** | You are reading a cached version this article from `DD Mmm YYYY`.
| **Final copy** | //above TBC//
=== Steps to QA
// Pre-conditions: There should be some articles cached in history that are not saved in reading lists or article packs. //
# Open to the history tab of the app
{F4662796}# Go offline.
# Tap on a cached article in history
The message is just a temporary one, displayed for a few seconds. This would help the user to know whether the content is loaded from //cache// or has been //refreshed//.# It is **expected** that a toast notification appears over the article opened advising that it is a cached version of the article.