| 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
Pages in different directories can display the wrong embedded file when their Markdown is identical. For example, both /first/ and /second/ can contain [snippet](snippet.js ':include :type=code'), while each directory has its own snippet.js. Visiting the first page and then the second currently keeps displaying the first directory's code.
The prerender cache is keyed only by raw Markdown, even though relative include resolution depends on the content base and current route. Include those two values in the cache key. The browser regression navigates first → second → first and checks the actual rendered code each time.
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, and unrelated E2E suites were not run locally.
Developed with assistance from OpenAI Codex; regression and fix validated locally.