Skip to content

Node gzip#475

Open
jacksonic wants to merge 5 commits into
masterfrom
NodeGzip
Open

Node gzip#475
jacksonic wants to merge 5 commits into
masterfrom
NodeGzip

Conversation

@jacksonic
Copy link
Copy Markdown
Member

Added node gzip functionality for file transfer handlers, if accept-encoding allows (which is almost always will). Also converted a few existing properties to NodeRequireProperty.

Comment thread js/foam/node/handlers/FileHandler.js Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to restructure this as

this.fs.createReadStream(this.file) similar to the StaticFileHandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants