Skip to main content

Advanced Auto Run Configuration

For those who want more control, Auto Run offers several advanced settings.

Run Mode

You can change how Auto Run operates to better suit your needs.

Continuous (Default)

In "Continuous" mode, the recorder starts and runs for a set duration (two hours by default). During this time, new optimizations are created whenever new JavaScript files are found. After the recording period ends, it won't start again until you deploy a new version of your site's code (static files). At that point, the old recordings are automatically finished, and new ones are started to capture your updated site.

You can also set the Optimization Frequency. By default, a new optimization is deployed as soon as a new dependency is found. Since each deployment clears your page cache, you might want to limit this by choosing a longer interval, such as every 30 minutes, to avoid creating too many optimizations in a short period.

Scheduled

In this mode, Auto Run follows a specific schedule that you define. This is useful if you want to control exactly when recordings and optimizations happen.

You can configure the schedule with these options:

  • Record for: How long you want the recording to run.
  • Pause for: How long to wait before the next recording starts.
  • Duration: The unit of time (e.g., minutes, hours) for the settings above.

Common Settings

You can also control minification directly from the Auto Run configuration:

  • Minify JavaScript bundles: Choose whether to minify JavaScript bundles.
  • Minify Knockout Templates: Choose whether to minify Knockout templates.