robinrajanic_
KPCKevin Powell - Community
•Created by robinrajanic_ on 3/15/2024 in #front-end
Performance
Should we use next-gen image format for poster attribute? or do they have any fallback?
4 replies
KPCKevin Powell - Community
•Created by robinrajanic_ on 12/6/2023 in #front-end
Brotli compression in next.js
Hey guys
I'm working on brotli compression in next.js and I need your help
Problem: The compression works fine, I can see the [filename-hash].js.br files in the _next/chunks. But when doing
npm start
, the production build doesn't have the .br chunk files.
Next.config.js
middleware.js
Note: I'm using next.js version 13.4.6, and I'm NOT using app router. And i don't need server.js or node.js suggession. Just wanted to handle it in NextRequest and NextResponse itself.
(Thanks In Advance)2 replies