chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.61k stars 248 forks source link

Provide a way to ignore HttpCache when retrieving packages #1027

Open pauby opened 8 months ago

pauby commented 8 months ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

The HttpCache added in 2.x of Chocolatey CLI causes confusing behavior when using Chocolatey GUI. When a new package is made available in a repository, it may not show up in Chocolatey GUI until the cache is rebuilt (Up to 30 minutes by default).

We should provide a way (a button for example) for Chocolatey GUI to skip the cache when retrieving package data from remote sources.

Describe The Solution. Why is it needed?

Reduces customer confusion and increases user experience.

Additional Context

We shouldn't provide a toggle for this so that it always fetches from the cache or always skips the cache. Provide the button to allow the user to select it at the time.

This will prevent the user forgetting they have toggled on it and then experiencing slow performance from the updating.

Related Issues