1
2
submitted 1 week ago by to c/nuxt@programming.dev
3
4
 
 

Hi

Hello, I created this project with the goal of quickly setting up a template using Nuxt and the “On-demand revalidation” configuration, integrated with a backend (currently only Pocketbase).

While researching, I discovered that “On-demand revalidation” is a very valid option for saving server resources in exchange for having more data in the cache, but this option requires integration with the backend you use in your project.

Workflow

  1. The user visits a page

  2. The server checks if that page exists in the cache

  3. If it exists in the cache, Nitro returns the cached page, and Nitro checks in the background whether the backend data has changed by reviewing “the data block”; since the backend did not send any signal, Nitro returns “the data block” from the cache

  4. If the page does not exist in the cache, it generates a new page, and Nitro checks if there is a “data block” in the cache; if there isn’t, it fetches the data from the backend

  5. Nitro’s configuration ensures that when a fetch is performed, that data is stored in the cache; that “data block” will expire in one week unless the backend sends an event to reset it.

  6. If the data changes on the backend, it sends an event to reset the cache in Nitro

You can run the script with bun, npm or pnpm

Example

npx nurev  

More info

https://codeberg.org/Serroda/nurev#how-it-works

Take a look and let me know what you think
Have a good day!

5
Nuxt 4.4 (nuxt.com)
submitted 4 months ago by to c/nuxt@programming.dev
6
 
 

Thinking about leveling up your Vue.js app?

Switching to Nuxt.js could be the key to unlocking better performance and scalability!

We've been there migrating our website to Nuxt.js—and now we're sharing practical tips and insights to make your transition smooth and stress-free.

Why Nuxt.js?

  • Better SEO - Easily manage meta tags to boost your search rankings
  • Faster Loading - Experience improved speed with server-side rendering (SSR)
  • Simpler Development - Work more efficiently with an organized structure for smoother workflows

What You’ll Get in the Guide?

  • Step-by-step guide to migrating large Vue.js apps to Nuxt.js.
  • Tips for seamlessly adapting your codebase to Nuxt.js’s structure.
  • Solutions to tackle common migration challenges.
  • Best practices for a future-proof, scalable app.
  • If you’re a developer or part of a team aiming to improve your app’s performance, SEO, and overall user experience, this guide is for you.

Check Out the Full Guide!👇

https://canopas.com/how-to-migrate-large-applications-efficiently-from-vue-js-to-nuxt-js-bdd9e41f82a1

7
8
Nuxt 3.11 (nuxt.com)
submitted 2 years ago by [M] to c/nuxt@programming.dev
9
10
Nuxt 3.10 (nuxt.com)
submitted 2 years ago by to c/nuxt@programming.dev
11
submitted 2 years ago by [M] to c/nuxt@programming.dev
 
 

Nuxt 3.9 is out - a Christmas gift from the Nuxt team bringing Vite 5, interactive server components, new composables, a new loading API and more.

12
13
14
15
New nuxt content website (content.nuxt.com)
submitted 2 years ago* by [M] to c/nuxt@programming.dev
16
Nuxt v3.7.4 (github.com)
submitted 2 years ago by [M] to c/nuxt@programming.dev
17
18
submitted 3 years ago by [M] to c/nuxt@programming.dev
19
Nuxt OG Image v2 (nuxtseo.com)
submitted 3 years ago by [M] to c/nuxt@programming.dev
20
Nuxt 3.6 (nuxt.com)
submitted 3 years ago* by [M] to c/nuxt@programming.dev
 
 

A bit late, but somebody might not have seen this yet

21