fastify / fastify-compress

Fastify compression utils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add to docs info that "fastify-compress" MUST be registered BEFORE "fastify-static".

amokmen opened this issue · comments

Feature Proposal

According to it, could you add to docs something like this, please:

You MUST register the fastify-compress global hook BEFORE registering fastify-static.

Motivation

For save people's time. Because I lost a bit time trying to understand why compression is not working for me.

Would you consider sending PR for this?

Okay, let's go long way :)