How to get a cached version of a webpage in Firefox upon 404 Errors?
Firefox is bringing this feature via an addon called Wayback Machine. Firefox has worked with Internet Archive to bring this addon. Now when you end up in a 404 error page you can get a archived version of that page from Internet Archieve.
You can read more about the Addon's development on the Firefox Test Pilot page.
You can download the addon here.