Skip to content

Commit

Permalink
Merge branch 'main' into dev-529
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Jan 31, 2025
2 parents 5ab42bc + 915a180 commit 954c6c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/content/1.docs/2.features/browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Browser rendering is only available on the [Workers Paid](https://www.cloudflare
To improve the performance in production, NuxtHub will reuse browser sessions. This means that the browser will stay open after each request (for 60 seconds), a new request will reuse the same browser session if available or open a new one.

The Cloudflare limits are:
- 2 new browsers per minute per Cloudflare account
- 2 concurrent browser sessions per account
- 10 new browsers per minute per Cloudflare account
- 10 concurrent browser sessions per account
- a browser instance gets killed if no activity is detected for 60 seconds (idle timeout)

You can extend the idle timeout by giving the `keepAlive` option when creating the browser instance:
Expand Down
2 changes: 1 addition & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineNuxtConfig({
modules: [
'@nuxt/ui',
'@nuxtjs/mdc',
// '@kgierke/nuxt-basic-auth',
'@kgierke/nuxt-basic-auth',
'@vueuse/nuxt',
'nuxt-auth-utils',
module
Expand Down

0 comments on commit 954c6c3

Please sign in to comment.