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
Currently, the sitemap is generated per request. This is to ensure that all urls are fresh. This approach is very naive, since the sitemap only really changes when the slugs are added or removed in Sanity. Therefore, a more performant approach would be to invalidate the cache each time a slug or added or removed.
The text was updated successfully, but these errors were encountered:
Currently, the sitemap is generated per request. This is to ensure that all urls are fresh. This approach is very naive, since the sitemap only really changes when the slugs are added or removed in Sanity. Therefore, a more performant approach would be to invalidate the cache each time a slug or added or removed.
The text was updated successfully, but these errors were encountered: