Improve 404 page performance so it can actually be used