如何使用gatsby source wordpress加速获取MediaItem?

如何使用gatsby source wordpress加速获取MediaItem?,wordpress,gatsby,Wordpress,Gatsby,我正在用盖茨比+WordPress建立,WP媒体库有1000多个项目;在每次新构建过程中,下载都需要很长时间: 如何让gatsby source wordpress同时获取多个图像?看起来它是按顺序获取它们的 我当前的gatsby config.jsgatsby源wordpress选项: resolve: `gatsby-source-wordpress`, options: { // the only required plugin option for WordPress is the

我正在用盖茨比+WordPress建立,WP媒体库有1000多个项目;在每次新构建过程中,下载都需要很长时间:

如何让gatsby source wordpress同时获取多个图像?看起来它是按顺序获取它们的

我当前的gatsby config.jsgatsby源wordpress选项:

resolve: `gatsby-source-wordpress`,
options: {
  // the only required plugin option for WordPress is the GraphQL url.
  url: process.env.WPGRAPHQL_URL,
  schema: {
    timeout: 30000,
    perPage: 500,
    requestConcurrency: 50,
  },
  type: {
    MediaItem: {
      localFile: {
        requestConcurrency: 200,
      },
    },
  },
},
想知道这是不是需要对前端进行调整,还是需要对服务器端进行调整

localFile
中的
requestConcurrency:200
设置似乎不会影响此处的任何内容