Skip to content

wearepinkyellow/vercel-cache-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

  • Added nuxt 3 minimal starter by 'npx init'
  • Enabled ISR for all routes
  • Removed app.vue and added index.vue so there is only one page in the project "/"
  • Any other route will land you on a 404
  • Added a Nitro plugin in "/server/plugins" this adds a cache control header that should tell vercel to not cache the response
  • All 404 pages are still returned with a X-Vercel-Cache: HIT header