Skip to content

Re-enable gzip compression for local development

Administrator requested to merge tr/fix-dev-server-compression into main

Created by: umpox

This PR re-enables compression on the local development server whilst still supporting streaming search.

Context We had to disable gzip as it meant waiting for the search query to fully complete before the response was returned: https://github.com/sourcegraph/sourcegraph/pull/25404

Changes

  • We now compress all resources locally (and get the performance benefits), except for the /stream/search endpoint.
  • The web-standalone variant commands now support streaming search. This was broken previously and was not updated as we maintain two separate DevServer configurations for different local development. We should aim to unify these.

Merge request reports

Loading