Open dinghui40 opened 10 months ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: Front-end source code construction is too slow and needs optimization
The front-end build will persist the node_modules cache directory files and store them in grdata's pvc. When I build the front-end component again, the Builder will copy the node_modules cache files from pvc to build instead of mounting them, which causes the component build time to be too long.
不仅前端源码构建慢,现在需要考虑各类源码以及Dockerfile构建均增加缓存机制,提升构建速度
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Not only is the front-end source code construction slow, but now it is necessary to consider adding a caching mechanism for various source codes and Dockerfile construction to improve the construction speed.
前端构建会对 node_modules 缓存目录文件进行持久化存储到 grdata 的 pvc 当中, 当我再次构建前端组件 Builder 会从 pvc 拷贝 node_modules 缓存文件进行构建, 而不是挂载, 导致组件构建时间过长。