zjffun blog

Simulate the use of Brotli

更新于 写于 HTTPCompressionBrotli

  1. Using Charles save HTTP traffic to HAR file. (Chrome save HAR has size limitation.)
  2. Using har-extractor extract HAR file to directory. (har-to-mocks can't extract all files.)
  3. Using Nginx to serve the extracted files with Brotli compression. (Content-Length < 20 will not using brotli by default.)
  4. Using Charles proxy to the Nginx server. (Whistle currently not support Brotli compression.)