Skip to content

Prevent preloading of JS chunks on changelog routes - #417

Open
Djennez wants to merge 1 commit into
mainfrom
prevent-preload-changelog
Open

Prevent preloading of JS chunks on changelog routes#417
Djennez wants to merge 1 commit into
mainfrom
prevent-preload-changelog

Conversation

@Djennez

@Djennez Djennez commented Jul 31, 2026

Copy link
Copy Markdown
Member

Fixes #

Summary

Attempts to reduce request spam on developer.yoast.com by removing preload calls from changelog links. A mouseover on a product could generate up to 100 requests. Considering these pages are all text there was no considerable speed to be gained by preloading but the calls were all logged and clogging pipelines.

Relevant technical choices

Technical choices that affect more than this issue:
Docusaurus doesn't seem to provide a less-roundabout way of doing this. So Qwen 🤖 came up with this solution.

Test instructions

This PR can be acceptance tested by following these steps:

  1. Check if links to products on the changelog page still cause a flood of requests in the browser network tab.

Quality assurance

  • Security - I have thought about any security implications this code might add.
  • Performance - I have checked that this code doesn't impact performance (greatly).
  • Caching - I have analyzed the caching methods that this code touches and have added instructions to deal with those.
  • Tested - I have tested this code to the best of my abilities.
  • Automated tests - I have added unit tests to verify the code works as intended.
  • Testability - I have added unique ids to elements, so they can be located in automated testing.
  • I have altered a filename.
    • I have adjusted the ID property accordingly and updated all internal links.
    • I have added the redirect to the _redirects file in the root of the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant