Skip to content

Sitemap cache usage with _sitemap-urls.ts? #194

Closed as not planned
Closed as not planned
@notflip

Description

@notflip

Details

I'm using _sitemap-urls.ts to fetch dynamically created pages (using Directus CMS), now I see that the client deleted a page, but the sitemap is not updating, even though I have set the following

  modules: [
    [
      "nuxt-simple-sitemap",
      {
        excludeAppSources: ["nuxt:pages"],
        cacheMaxAgeSeconds: 3600,
      },
    ],
}

How do I make sure that updates in the CMS are also reflected in the sitemap?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions