简介/API 参考文档/next.config.js 配置选项/instrumentationHookinstrumentationHook 实验性的 instrumentationHook 选项允许您通过 Next.js 应用中的 instrumentation 文件 来设置 instrumentation。 next.config.jsmodule.exports = { experimental: { instrumentationHook: true, }, }instrumentation.jsinstrumentation.js 文件的 API 参考文档。cacheHandler配置 Next.js 用于存储和重新验证数据的缓存,以使用任何外部服务如 Redis、Memcached 或其他服务。日志记录配置在开发模式下运行 Next.js 时如何将数据获取日志输出到控制台。