mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-21 11:08:54 +00:00
perf: 优化首屏加载速度
This commit is contained in:
@@ -101,7 +101,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
chainWebpack(config) {
|
chainWebpack(config) {
|
||||||
// it can improve the speed of the first screen, it is recommended to turn on preload
|
// it can improve the speed of the first screen, it is recommended to turn on preload
|
||||||
// config.plugins.delete('preload')
|
config.plugins.delete('preload')
|
||||||
|
|
||||||
// when there are many pages, it will cause too many meaningless requests
|
// when there are many pages, it will cause too many meaningless requests
|
||||||
config.plugins.delete('prefetch')
|
config.plugins.delete('prefetch')
|
||||||
|
Reference in New Issue
Block a user