turning on gzipmiddleware in settings