Currently, the cache system makes no distinction between types of errors, meaning that persistent backend issues (e.g. lfm serving bad JSON) do not get cached, and potentially result in extra requests.
This should be pretty trivial to fix, by just changing the type stored in the caches.