Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议,增加minify,压缩代理的资源,能有加密及混淆更好。 #63

Open
flowerpig2012 opened this issue Mar 17, 2020 · 0 comments

Comments

@flowerpig2012
Copy link

user -> teaweb -> web server

流量经过teaweb时,对资源进行压缩,这样可以在最终用户浏览器中客户看到被压缩的内容。

压缩html, js, css等资源可以参考go minify
https://github.com/tdewolff/minify

加密混淆,可参考sharewaf
http://www.sharewaf.com/

网页源码加密 | 加密网页源码,使页面源码不可读。
JS代码保护/JS混淆加密 | 对网页中嵌入的JS代码、单独的JS文件代码进行自动、动态混淆加密。

在代理里面加个开关。这个和gzip压缩不同,可以让html源代码阅读不便。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant