Re #444 Added event subscribe to catch exception and add cache headers on NotFound.