"Apps" are soketi's core authentication concept. If you are already familiar with Pusher apps, soketi "apps" serve exactly the same purpose. Namely, each "app" receives an app ID, key, and secret it may use to authenticate with the soketi server.
Apps may even be stored in MySQL or PostgreSQL for easier management of deployments with multiple apps with unique permission settings.
Within the following documentation pages, we will discuss how to configure apps for each of the supported app storage drivers. The driver that soketi uses for app management and retrieval may be defined using the following environment variable:
The driver used to retrieve the app.
Enable temporary caching of apps in the memory.
The TTL of cache-stored apps, in seconds.
0.32.0, soketi can cache the apps that are retrieved for authentication. The apps retrieved in the cache cannot be purged until the TTL causes it to get evicted and replaced with the fresh value from the database. The caching is on a per-app basis.