| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Someone is attempting to deploy a commit to the Docsify Team on Vercel. A member of the Team first needs to authorize it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Deleted or renamed sections can return in search results after an expired index has been rebuilt and the site is opened again.
The refresh correctly rebuilds INDEXES in memory, but bulkPut() only inserts or updates records. Old slugs remain in IndexedDB while the cache expiry is renewed. The next visit reads those obsolete records back alongside the current index.
Replace the current indexKey's records and update its expiry in one Dexie transaction. Other namespaces are retained, and there is no database schema change.
Reproduction
The browser regression follows these visits through the actual search UI, using maxAge: -1 for the first visit to expire the initial cache deterministically. A separate regression verifies that saving one namespace retains another namespace's valid cache.
Related issue, if any:
Reproduced on develop at d823dbe51c1b2dea4c2091e2b952ded0d1e16616; no matching open fix found.
What kind of change does this PR introduce?
For any code change,
Does this PR introduce a breaking change?
Validation
Browser coverage: Chromium via Playwright. Firefox, WebKit, unrelated E2E suites, and transaction-failure fault injection were not run locally.
Developed with assistance from OpenAI Codex; the regression and fix were validated locally.