You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/blog/1.beta.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ You can sign up for free and start building full-stack Nuxt applications at [adm
84
84
85
85
## Why NuxtHub?
86
86
87
-
Starting with version 3, Nuxt is a complete full-stack framework thanks to its open server engine called [Nitro](https://nitro.unjs.io). It allows you to have hot module replacement on the server without rebuilding your Vue application, outstanding performance as well as deploying to many different hosting providers with zero configuration. Read more about it on the blog post: [Nuxt on the Edge](https://nuxt.com/blog/nuxt-on-the-edge).
87
+
Starting with version 3, Nuxt is a complete full-stack framework thanks to its open server engine called [Nitro](https://nitro.build). It allows you to have hot module replacement on the server without rebuilding your Vue application, outstanding performance as well as deploying to many different hosting providers with zero configuration. Read more about it on the blog post: [Nuxt on the Edge](https://nuxt.com/blog/nuxt-on-the-edge).
88
88
89
89
With this in mind, we wanted to provide you with a reliable platform to build and deploy your next idea while keeping the best developer experience.
Copy file name to clipboardExpand all lines: docs/content/docs/2.features/cache.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ navigation.title: Cache
4
4
description: Learn how to cache Nuxt pages, API routes and functions in with NuxtHub cache storage.
5
5
---
6
6
7
-
NuxtHub Cache is powered by [Nitro's cache storage](https://nitro.unjs.io/guide/cache#customize-cache-storage) and uses [Cloudflare Workers KV](https://developers.cloudflare.com/kv) as the cache storage. It allows you to cache API routes, server functions, and pages in your application.
7
+
NuxtHub Cache is powered by [Nitro's cache storage](https://nitro.build/guide/cache#customize-cache-storage) and uses [Cloudflare Workers KV](https://developers.cloudflare.com/kv) as the cache storage. It allows you to cache API routes, server functions, and pages in your application.
This option will configure [Nitro's cache storage](https://nitro.unjs.io/guide/cache#customize-cache-storage) to use [Cloudflare Workers KV](https://developers.cloudflare.com/kv) as well as creating a new storage namespace for your project when you deploy it.
22
+
This option will configure [Nitro's cache storage](https://nitro.build/guide/cache#customize-cache-storage) to use [Cloudflare Workers KV](https://developers.cloudflare.com/kv) as well as creating a new storage namespace for your project when you deploy it.
23
23
::
24
24
25
25
Once your Nuxt project is deployed, you can manage your cache entries in the `Cache` section of your project in the [NuxtHub admin](https://admin.hub.nuxt.com/).
The above example will cache the response of the `/api/cached-route` route for 1 hour. The `getKey` function is used to generate the key for the cache entry.
Read more about [Nitro Cache options](https://nitro.build/guide/cache#options).
53
53
::
54
54
55
55
## Server Functions Caching
@@ -80,7 +80,7 @@ The above example will cache the result of the `getRepoStarCached` function for
80
80
::important
81
81
It is important to note that the `event` argument should always be the first argument of the cached function. Nitro leverages `event.waitUntil` to keep the instance alive while the cache is being updated while the response is sent to the client.
82
82
:br
83
-
[Read more about this in the Nitro docs](https://nitro.unjs.io/guide/cache#edge-workers).
83
+
[Read more about this in the Nitro docs](https://nitro.build/guide/cache#edge-workers).
This example bulk generates vectors using a text embeddings AI model for all data within a database table, using [Nitro tasks](https://nitro.unjs.io/guide/tasks). You can run the task via Nuxt DevTools.
876
+
This example bulk generates vectors using a text embeddings AI model for all data within a database table, using [Nitro tasks](https://nitro.build/guide/tasks). You can run the task via Nuxt DevTools.
Copy file name to clipboardExpand all lines: docs/content/docs/3.recipes/2.drizzle.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ We also export the `sql`, `eq`, `and`, and `or` functions from `drizzle-orm` to
131
131
132
132
### Seed the database (Optional)
133
133
134
-
You can add a server task to populate your database with initial data. This uses [Nitro Tasks](https://nitro.unjs.io/guide/tasks), which is currently an experimental feature.
134
+
You can add a server task to populate your database with initial data. This uses [Nitro Tasks](https://nitro.build/guide/tasks), which is currently an experimental feature.
0 commit comments