fixed bug in cache not working and added refresh of 404 regardless of cache result
fixed bug in cache not working and added refresh of 404 regardless of cache result

stewartmckee/cohesion,stewartmckee/cohesion