Open
Description
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.