加载速度过度优化
** 温馨提示:这篇文章已经过时 ** 这篇文章讨论如何过度优化静态博客的加载速度。 闲的无聊,于是思考,怎样才能让zrt.io/blog加载的更快呢? 这个blog是由hexo生成,所以可以看作纯静态的一堆html。 ...
** 温馨提示:这篇文章已经过时 ** 这篇文章讨论如何过度优化静态博客的加载速度。 闲的无聊,于是思考,怎样才能让zrt.io/blog加载的更快呢? 这个blog是由hexo生成,所以可以看作纯静态的一堆html。 ...
配置好了http2,通过curl -v –http2发现并没有走h2,在/var/log/大概报个这样的warning: [http2:warn] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive. 大概是mpm的prefork模式和http2不兼容。Google到修补方法:修改mpm模式为event。 参考https://http2.pro/doc/Apache#prefork-http2 ...