We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7337f8c commit ebd5e2aCopy full SHA for ebd5e2a
packages/gatsby/src/utils/start-server.ts
@@ -7,6 +7,7 @@ import webpackDevMiddleware, {
7
import got from "got"
8
import webpack from "webpack"
9
import express from "express"
10
+import compression from "compression"
11
import graphqlHTTP from "express-graphql"
12
import graphqlPlayground from "graphql-playground-middleware-express"
13
import graphiqlExplorer from "gatsby-graphiql-explorer"
@@ -117,6 +118,7 @@ export async function startServer(
117
118
/**
119
* Set up the express app.
120
**/
121
+ app.use(compression())
122
app.use(telemetry.expressMiddleware(`DEVELOP`))
123
app.use(
124
webpackHotMiddleware(compiler, {
0 commit comments