大佬们,请问怎么解决总代码20MB的限制呀(假设图片已经压缩)?

小程序 文章 2022-03-19 13:20 322 0 全屏看文

AI助手支持GPT4.0

大佬们,请问怎么解决总代码20MB的限制呀(假设图片已经压缩)?Guys, how can I solve the limit of 20MB of total code (assuming the image has been compressed)?

大佬们,请问怎么解决总代码20MB的限制呀(假设图片已经压缩)?

假设图片已经压缩,那是不是只有写后端了,但是request请求不是也不能超过1MB嘛,

意思是要解决只能精简自己的项目了是嘛~~?

Assuming that the picture has been compressed, is there only a write back-end, but the request can't exceed 1MB, which means that we can only streamline our own projects ~ ~?

回答:

.:

分包,图片等资源尽量不要放在本地

拾忆:

分包

图片放在公网能访问的服务器或者云存储中,通过https链接方式访问。

小黎:

分包

-EOF-

AI助手支持GPT4.0