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
The search index is cached for up to 10 minutes and doesn’t check whether pages have been edited since the last index if you’ve specified the pages config option. (If you haven’t, then it works as expected because we crawl the list of pages in the getter and check if the contents change.) Probably the logic that checks whether the contents have changed should move into the searchIndex caching, not the readPages caching, so that we regenerate the search index if the page contents change even if the list of pages is hard-coded and hasn’t changed.
The text was updated successfully, but these errors were encountered:
The search index is cached for up to 10 minutes and doesn’t check whether pages have been edited since the last index if you’ve specified the pages config option. (If you haven’t, then it works as expected because we crawl the list of pages in the getter and check if the contents change.) Probably the logic that checks whether the contents have changed should move into the
searchIndex
caching, not thereadPages
caching, so that we regenerate the search index if the page contents change even if the list of pages is hard-coded and hasn’t changed.The text was updated successfully, but these errors were encountered: