This looks good. And in practice, there is not much of a performance issue? (especially that the left assist browser keeps the list).
Aonther alternative might be to invalidate the cache on the manual refresh icon, but better not to require anything for end users.
Feel free to send a pull request or a git-format-patch file
HUE-5306 [fb] Remove bucket cache from S3 browser to force re-authentication
Review Request #12834 - Created April 13, 2018 and updated
From: Scheller firstname.lastname@example.org
Date: Tue, 6 Mar 2018 10:07:55 -0800
Subject: HUE-5306 [fb] Remove bucket cache from S3 browser to force re-authentication
Removes bucket cache from S3 browser to force re-authentication through s3connection. This also allows Hue S3 browser to refresh on external s3 changes.
Manual testing of s3 browser