Situation:
Imagine having a web app that shows an error message when trying to perform an action but fails due to a connectivity problem.
The error dialogue has a CSS class with a background image that can't load because of the connection issue, resulting in a weird-looking dialog box.
Is there a solution to preload the image so it is accessible even without an internet connection?