If an explicit resource is 404, cache updating should fail. This works correctly already, but there should be a test added.
I have a patch ready, but cannot upload it due to a Bugzilla internal error yet.
Created attachment 26933 [details] proposed patch
Committed revision 40164.