I just tested it locally by setting the expiration time to 1 hour. It does clear expired cache and re-fetches when no cache is available.
The cache cleanup only happens one minute after opening the page, so if you haven’t used it for over a minute, it won’t trigger. Also, if you keep the page open, it won’t run the cleanup again.