Skip to main content

Caching

Overview

Exit Unit caches critical data locally on the device to ensure reliable operation when network connectivity is temporarily unavailable.

What Is Cached

Exit Unit caches three types of data:

  • End of Trip Code – The QR code displayed to customers, refreshed automatically before expiration
  • Branding Configuration – Logo, background image, and color scheme from Customer Controlled Configuration
  • Authentication Tokens – Security credentials required to access the service

How Caching Works

When the app starts, it loads the most recent cached data from the device. It then attempts to fetch fresh data from the server. If the fetch succeeds, the cache is updated; if it fails, the cached data continues to be displayed.

Offline Support

If the device loses network connectivity:

  • QR Code – Exit Unit displays the last valid QR code and automatically attempts to refresh every 60 seconds
  • Branding – Exit Unit continues displaying the cached branding until the connection is restored
  • Authentication – Cached authentication tokens allow the app to remain operational without active network connectivity