Fixes Sentry middleware
Fixes cache middleware
Fixes GZIP middleware
Fixes secure middleware