0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

chore: Update README.md (#8065)

This commit is contained in:
Elian ☕️ 2023-08-14 13:26:28 +02:00 committed by GitHub
parent bee284cb77
commit c5b60fadb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,7 @@ Once you run `astro build` there will be a `dist/_redirects` file. Netlify will
By default, all pages will be rendered on first visit and the rendered result will be reused for every subsequent visit until you redeploy. To set a revalidation time, call the [`runtime.setBuildersTtl(ttl)` local](https://docs.astro.build/en/guides/middleware/#locals) with the duration (in seconds).
As an example, for the following snippet, Netlify will store the rendered HTML for 45 seconds.
The following example sets a revalidation time of 45, causing Netlify to store the rendered HTML for 45 seconds.
```astro
---