I have wanted to implement a way of ensuring that user receive notifications, e.g. Azure NotificationHub - Detect failed notifications
However this had limited success when there was many subscribes to a tag, and then ended up with a lot server time.
Instead I found this link caching Notifications. It specifically states that toast notifications can't be cached. Nevertheless since I upgraded to the Azure App Service using Notification Hub, I have tested that toast notifications are in fact cached.
However I cannot find any documentation of caching in reference to Toasts or how to ensure the caching or how many notifications can be cached, and finally for how long?
Therefore I would like to know if anybody has any knowledge about caching and how this is specified? Example from the link above:
X-WNS-Cache-Policy: cache | no-cache
But how is this specified?
Update
The answer is correct in respect to enable caching. Nevertheless it is still unclear for me how long Notifications are cached, the link says the notifications are dropped after a reasonable amount of time, what is that?
Further it is not specified how many notifications are stored, one attribute is referred to as cycling for the link, such that if a new message is cached with the same tag, it will take the old message place. But how many different tags can be stored is not mentioned, and how to enable or disable cycling is not mentioned either ?
Finally how many messages can be cached per channel/user ?