Skip to content

Conversation

@kimsauce
Copy link
Collaborator

@kimsauce kimsauce commented Jan 23, 2026

Purpose of this pull request

Testing the removeHashPlugin approach to determine if removing content hashes from webpack output resolves the intermittent Algolia search box freezing issue.

Changes

  • Added removeHashPlugin function to docusaurus.config.js that removes content hashes from webpack output filenames
  • Files will be named main.js, runtime.js instead of 08ecafc4.dc57a9ba.js, etc.

Expected Results

Based on webpack's standard module resolution behavior, this change may:

  • Break webpack's module chunk resolution
  • Cause 404 errors in the browser console for JavaScript files
  • Potentially break the Algolia search functionality

Testing Plan

  1. Deploy to staging environment only
  2. Monitor browser console for 404 errors
  3. Test Algolia search box functionality
  4. Compare results against current working staging build (with hashes intact)

Next Steps

If the production approach (cache clearing improvements) causes issues, we can revisit this PR. If cache clearing improvements is successful, we'll close this PR without merging.


⚠️ STAGING EXPERIMENT ONLY - DO NOT MERGE TO MAIN ⚠️


Select the type of change

  • Minor Changes - Typos, formatting, slight revisions
  • Update Content - Revisions, updating sections
  • New Content - New features, sections, pages, tutorials
  • Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)

DOCS-1340

@kimsauce kimsauce self-assigned this Jan 23, 2026
@cla-bot cla-bot bot added the cla-signed Contributor approved, listed in .clabot file label Jan 23, 2026
@kimsauce kimsauce changed the title Test: Remove webpack content hashes (staging only - DO NOT MERGE) Test: Remove webpack content hashes with removeHashPlugin (staging only - DO NOT MERGE) Jan 23, 2026
@kimsauce kimsauce added doc:site tech Site/tool maintenance, dependencies, updates do-not-merge Pull requests that should not be merged labels Jan 23, 2026
@jpipkin1
Copy link
Collaborator

@kimsauce, in staging I get this error on the Console tab in Chrome:

GET https://helpdocs-sumo-logic.pantheonsite.io/help/5e9f5e1a.js net::ERR_ABORTED 404 (Not Found)
Screenshot 2026-01-23 at 9 46 08 AM

@kimsauce kimsauce marked this pull request as draft January 23, 2026 22:13
@kimsauce
Copy link
Collaborator Author

@kimsauce, in staging I get this error on the Console tab in Chrome:

GET https://helpdocs-sumo-logic.pantheonsite.io/help/5e9f5e1a.js net::ERR_ABORTED 404 (Not Found)
Screenshot 2026-01-23 at 9 46 08 AM

I'm seeing the same issue

@kimsauce kimsauce changed the title Test: Remove webpack content hashes with removeHashPlugin (staging only - DO NOT MERGE) Remove webpack content hashes with removeHashPlugin Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Contributor approved, listed in .clabot file do-not-merge Pull requests that should not be merged doc:site tech Site/tool maintenance, dependencies, updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants