Syncing updates with offline media

Hello - Currently there is a way to cache and persist media (PDFs/PPTs) for offline use but is there a way to update that media locally if the source changes?

IE: if today I log in with an internet connection and download a PDF, I know I can now view this offline with media caching turned on. But say that tomorrow the document changes and the cached age hasn't expired, is there a way for the app to check for an updated version of the document when it goes back online? So far I am having an issue with one of our apps that even if the document changes, if the cached hasn't expired it still shows the original version of the document if the source changes.

Let me know what you think...

Thanks,

-Adam

Have more questions? Submit a request

5 Comments

  • 0
    Avatar
    Sawandi Cassell

    Hi Adam,

    Cached media can be set to have an expiration time.  After the cache has expired, it will make a server call to access the media again, and if it has changed in the back-end, the new media will be loaded.

    Thanks

  • 0
    Avatar
    apacelli

    Hi Sawandi -


    Thank you for the follow-up. But what if the expire time is set for 24 hours and a user tries to view the same item 2 days later while offline, will if fail? Ideally we would allow them to vew it offline until an expiration date that we have on the list screen leading to the doc.

    It would be good if we can have the user view the cached document offline but if they are online have it check the source for an update version.

  • 0
    Avatar
    apacelli

    Hi Sawandi - just checking in, any thoughts on this?

  • 0
    Avatar
    Sawandi Cassell

    Hi Adam,

    Unfortunately we do not have that functionality at this time. Once the expiration time hits and the interval timer runs, the cache is cleared.

  • 0
    Avatar
    apacelli

    Thank you Chris! We found way using a back end process to rename the documents with the modified timestamp to get it to sync with updates.

Please sign in to leave a comment.
Powered by Zendesk