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
#7975f974c95a2 Thanks @lilnasy! - If you are using Netlify's On-demand Builders, you can now specify how long your pages should remain cached. By default, all pages will be rendered on first visit and reused on every subsequent visit until a redeploy. To set a custom revalidation time, call the runtime.setBuildersTtl() local in either your frontmatter or middleware.
---importLayoutfrom'../components/Layout.astro';if (import.meta.env.PROD) {// revalidates every 45 secondsAstro.locals.runtime.setBuildersTtl(45);}---
<Layouttitle="Astro on Netlify">
{newDate(Date.now())}
</Layout>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.5.0→2.6.03.1.0→3.1.1Release Notes
withastro/astro (@astrojs/netlify)
v2.6.0Compare Source
Minor Changes
#7975
f974c95a2Thanks @lilnasy! - If you are using Netlify's On-demand Builders, you can now specify how long your pages should remain cached. By default, all pages will be rendered on first visit and reused on every subsequent visit until a redeploy. To set a custom revalidation time, call theruntime.setBuildersTtl()local in either your frontmatter or middleware.Patch Changes
1b8d30209,405913cdf,87d4b1843,c23377caa,86bee2812]:v2.5.2Compare Source
Patch Changes
#7862
1859960d0Thanks @Yan-Thomas! - Fix README GitHub search link#7754
298dbb89fThanks @natemoo-re! - Improve404behavior forserverlessandedgeUpdated dependencies [
298dbb89f,9e2203847,5c5da8d2f,0b8375fe8,89d015db6,ebf7ebbf7]:v2.5.1Compare Source
Patch Changes
#7805
42a21b5daThanks @matthewp! - Prevent building .html file redirects in hybrid modeUpdated dependencies [
31c4031ba,5161cf919,59b556232,267487e63,b063a2d8a,d5f526b33,7dbcbc86b]:withastro/astro (@astrojs/svelte)
v3.1.1Compare Source
Patch Changes
#7291
0bf2cca5dThanks @kitschpatrol! - Filter unknownclassprop warningsUpdated dependencies [
b12c8471f,7177f7579,fa6b68a77,097a8e4e9,1f6497c33,0e0fa605d,b290f0a99,d6b494376,da6e3da1c]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.