{"id":50211,"library":"nytimes-gziphandler","title":"Gzip Handler","description":"A Go HTTP handler that transparently compresses responses using gzip compression.","status":"active","version":"1.1.1","language":"go","source_language":null,"source_url":"https://github.com/NYTimes/gziphandler","tags":["gzip","compression","http","middleware"],"install":[{"cmd":"go get github.com/NYTimes/gziphandler","lang":"bash","label":"Install github.com/NYTimes/gziphandler"}],"dependencies":[],"imports":[{"symbol":"gziphandler","correct":"github.com/NYTimes/gziphandler"}],"quickstart":{"code":"package main\n\nimport (\n\t\"net/http\"\n\t\"github.com/NYTimes/gziphandler\"\n)\n\nfunc main() {\n\thandler := gziphandler.GzipHandler(http.FileServer(http.Dir(\"./static\")))\n\thttp.ListenAndServe(\":8080\", handler)\n}","lang":"go","description":"Wraps an existing HTTP handler with gzip compression."},"warnings":[],"env_vars":null,"search_vec":"'compress':9,13,15 'go':4 'gzip':1,12,14 'handler':2,6 'http':5,16 'middlewar':17 'respons':10 'transpar':8 'use':11","created_at":"2026-06-15T04:44:39.000777+00:00","updated_at":"2026-06-15T04:44:39.000777+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/NYTimes/gziphandler","github":"https://github.com/NYTimes/gziphandler","docs":"https://pkg.go.dev/github.com/NYTimes/gziphandler#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}