- Run
npm run build
for the production build of the app - Serve with
npm start
- Head to http://localhost:3000/sitemap.xml
- Change something in the
src/app/test.json
file - Wait up to 40s
- Your
sitemap.xml
should automatically be updated from the contents of thetest.json
file
-
Notifications
You must be signed in to change notification settings - Fork 0
fabiancdng/nextjs-sitemap-reval-test
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A demo to test the caching behavior of a dynamically generated sitemap in Next.js
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published