Prevent Preload

Prevent Preload

By default, when navigating to a remote source (for example the Chocolatey Community Repository), Chocolatey GUI will fetch and display the first page of packages that can be installed. Depending on your use of Chocolatey GUI, you may want to immediately search for packages, rather than install from the first page of packages. If you enable the Prevent Preload feature, than the first pages of packages will not be fetched, and instead, you will be able to immediately search for a package that you want to install.

When enabled, you will see the following when navigating to a remote source:

Prevent Preload is enabled, showing the ability to immediately search for packages

Resources

Below is a short video which shows this feature in action:


Example

This feature can be enabled, for the currently logged in user, by running the following command:

chocolateyguicli feature enable --name="'PreventPreload'"

This feature can be disabled, for the currently logged in user, by running the following command:

chocolateyguicli feature disable --name="'PreventPreload'"

Or, to enable/disable it globally at the machine level, run the following commands:

chocolateyguicli feature enable --name="'PreventPreload'" --global

chocolateyguicli feature disable --name="'PreventPreload'" --global

Default Value

The default value for this feature is disabled.

Availability

The ability to control this feature from the Chocolatey GUI Settings screen has existed since Chocolatey GUI v0.18.0.

The ability to control this feature from the command line using chocolateyguicli has existed since Chocolatey GUI v0.18.0.