Re-order middleware to move compression first and session stuff after static stuff