Skip to content

Persistent mode

Persistent mode is a setting introduced since version 2.10.0. Historically, RPGM creates a new working directory and extract all the files from an app inside that working directory before executing the app. This folder is deleted when the app is closed. This is useful for apps that heavily works with files and don't want to manage files depending on the current user.

But some apps, like Dash apps, are made like classic web server, and generally works without changing files in the working directory. If an apps is also very big (for example more than 50 MB), it can greatly slow down the starting of an app because the server will have to unzip everything all the files to write them in a new working directory.

This is where the Persistent mode setting of an app version settings comes in:

  • When set to Yes, all the apps files will be extracted once in a working directory. This working directory will be the only one and will be use for every instances of the app.
  • When set to No, a new and fresh working directory will be created for each instance of the app. This folder will then be deleted when the instance is closed.