We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generate sitemap automatically without build again for dynamic routes.
i returned a promise that in that, i get dynamic routes by axios. but if i change any route in backend, sitemap not update until i rebuild nuxt app.
how i can generate sitemap on runtime?
The text was updated successfully, but these errors were encountered:
Try this one: #79 (comment)
But there is also the problem of dynamic formation of the sitemapindex file. I described it in more detail at the link above.
Sorry, something went wrong.
@farshidrezaei By default the cacheTime option is define at 15min. Try to reduce this value as per your convenience.
cacheTime
Eg. set the minimal value of 1 ms as below:
1 ms
sitemap: { cacheTime: 1, // example of dummy dynamic route to check the freshness routes: () => { return [ { url: new Date().toISOString() } ] } }
No branches or pull requests
generate sitemap automatically without build again for dynamic routes.
i returned a promise that in that, i get dynamic routes by axios. but if i change any route in backend, sitemap not update until i rebuild nuxt app.
how i can generate sitemap on runtime?
The text was updated successfully, but these errors were encountered: