-
Notifications
You must be signed in to change notification settings - Fork 878
Closed
Description
In here we've accomplished on-the-fly-compression-at-proxy-level with a basic
const express = require('express')
const httpProxy = require('http-proxy-middleware')
const app = require('express')()
app.use(compression())
app.use(httpProxy({
// Our rules here
}))
Aggressively optimizing, we now would like to gzip build-time and be able to grab already gzipped files at proxy level, serving them to client
build
bundle.js
myfile.js =>
bundle.js.tar.gz
serve
/bundle.js/ /bundle.jz.tar.gz
client => proxy => application
Anyone with similar experience ?
Metadata
Metadata
Assignees
Labels
No labels