[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf: cache versioned docs urls

+2
+2
nuxt.config.ts
··· 100 100 '/api/auth/**': { isr: false, cache: false }, 101 101 // infinite cache (versioned - doesn't change) 102 102 '/code/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } }, 103 + '/docs/:pkg/v/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } }, 104 + '/docs/:scope/:pkg/v/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } }, 103 105 '/api/registry/docs/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } }, 104 106 '/api/registry/file/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } }, 105 107 '/api/registry/files/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } },