Haoliang Gao

Results 83 comments of Haoliang Gao

@fouber 但是文件确实变化了,压缩也不一定 100% 正确的,压缩工具修改也会造成输出变化。

@fouber 压缩工具变更肯定会应该输出的,比如自己增加一些元信息,这个不影响压缩效果,也是可能的。 额,你们没有仔细看么,我没有说只是修改文件本身,是**所有依赖文件的内容**,比如图片改动,对应的 js 文件肯定会发生变化。我的分歧点是**不需要坐资源定位标记的替换**,其他我也是很认同,我也是这么做的。 md5 主要的作用是避免文件的覆盖,当文件变化所生成的文件变化必须不同,所有生成的 md5 只要考虑是否已经考虑到文件变化就可以了,至于是否必须为处理后的文件我就不做评价了。

@shunyitian 这个可以忽略,你机器编译 fsevents 失败了

@atian25 alinode 这个目录是不是可以在插件生成?

@JacksonTian 如果能在插件配这个路径,那就不用这里加了。

@kenkunz can you rebase master? you can getRawBody in getParsedBody function, I'll review it.

Yes, it may separate to host and protocal.

I will update to async/await when koa v2 released.

Can you add a testcase and document about these two options?

Yes, we can use stream when request the real server, then pipe to response.