sttm-web icon indicating copy to clipboard operation
sttm-web copied to clipboard

Evaluate and add brotli

Open ManjotS opened this issue 8 years ago • 11 comments

https://certsimple.com/blog/nginx-brotli

ManjotS avatar Apr 05 '17 18:04 ManjotS

In my own research, brotli is great (20% compression improvement over gzip), however its compression time is pathetic, and is meant to be compiled before hand as opposed to compressing on the fly. If we can support that, then we should definitely go for it, as all modern browsers support it.

I can setup our build process to also produce .br files, which can then be sent to CDN, and nginx can be updated to serve it (brotli-static)

bogas04 avatar Nov 06 '17 08:11 bogas04

this pretty low priority, especially if you aren't confident in it.

ManjotS avatar Nov 06 '17 16:11 ManjotS

@navdeepsinghkhalsa What can we do to make this happen? We can produce brotli JS assets at build step (webpack plugin) to begin with.

bogas04 avatar Mar 18 '18 13:03 bogas04

@bogas04 That's great that you are ready for this at the front-end. Just need to evaluate if it's something we want to do. I will take a look after this sprint closes.

navdeepsinghkhalsa avatar Mar 18 '18 15:03 navdeepsinghkhalsa

20% better compression at no cost. Just that we need to pre-build the files.

bogas04 avatar Mar 18 '18 19:03 bogas04

@navdeepsinghkhalsa do we still want to do this? please re-assign as needed.

saintsoldierx avatar Dec 04 '18 22:12 saintsoldierx

This ticket still valid @ManjotS

saintsoldierx avatar Jun 07 '20 18:06 saintsoldierx

@tsingh777 please let us know

ManjotS avatar Jun 07 '20 23:06 ManjotS

@tsingh777

saintsoldierx avatar Jul 22 '20 00:07 saintsoldierx

ping @tsingh777

saintsoldierx avatar Jan 05 '21 07:01 saintsoldierx

Would like to see if https://github.com/expressjs/compression/pull/172 gets accepted. keep it open at low priority.

tsingh777 avatar Apr 18 '21 23:04 tsingh777

This needs more discussion/research and might be even avoidable if we opt for next.js or any other framework.

gurjit03 avatar Jun 09 '24 07:06 gurjit03