Re-middleware caching
Don't cache 500s