Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
programming, negative cache is a cache that also stores "negative"
responses, i.e. failures. This means that a program remembers the result
indicating a failure even after the cause has been corrected. Usually
negative cache is a design choice, but it can also be a software
bug.Consider a web browser which attempts to load a page while the
network is unavailable. The browser will receive an error code
indicating the problem, and may display this error message to the user
in place of the requested page. However, it is incorrect for the browser
to place the error message in the page cache, as this would lead it to
display the error again when the user tries to load the same page - even
after the network is back up. The error message must not be cached under
the page's URL; until the browser is able to successfully load the page,
whenever the user tries to load the page, the browser must make a new
attempt.