Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How much do you think of this is nowadays obsolete (or let's say: Less important) with HTTP-2? I'm using pagespeed with Openresty.


not obsolete at all I benchmarked http/2 vs http/2 + ngx_pagespeed and the http/2 + ngx_pagespeed is still faster http://centminmod.com/http2-versus-spdy-nginx.html#http2vers...

if you think about it, http/2 allows requests over one tcp connection but each page element is still around the same size.

ngx_pagespeed can optimise those page elements css/js and reduce image sizes i.e. png to webp conversion on the fly so each page element is smaller in size.

Utlimately reducing the size of each page element = smaller data transfers = faster page loads :)

I'm also using Google's ngx_brotli https://github.com/google/ngx_brotli + ngx_pagespeed for even better performance https://community.centminmod.com/threads/brotli-compression-...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: