{"id":17346140,"url":"https://github.com/rushiimachine/caddy-deflate","last_synced_at":"2025-08-24T19:33:39.515Z","repository":{"id":190266467,"uuid":"682281380","full_name":"rushiiMachine/caddy-deflate","owner":"rushiiMachine","description":"A caddy plugin that adds a deflate compression encoder for caddy.","archived":false,"fork":false,"pushed_at":"2025-01-01T18:33:04.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T22:11:34.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rushiiMachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-23T20:47:09.000Z","updated_at":"2025-01-01T18:33:08.000Z","dependencies_parsed_at":"2025-01-01T19:29:51.739Z","dependency_job_id":null,"html_url":"https://github.com/rushiiMachine/caddy-deflate","commit_stats":null,"previous_names":["rushiimachine/caddy-deflate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushiiMachine%2Fcaddy-deflate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushiiMachine%2Fcaddy-deflate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushiiMachine%2Fcaddy-deflate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushiiMachine%2Fcaddy-deflate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rushiiMachine","download_url":"https://codeload.github.com/rushiiMachine/caddy-deflate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245832607,"owners_count":20679701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T16:44:40.512Z","updated_at":"2025-03-27T10:42:40.729Z","avatar_url":"https://github.com/rushiiMachine.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caddy-deflate\n\nA caddy plugin that adds support for HTTP's `Accept-Encoding: deflate` for caddy.\n\n**Note:** This follows the official definition for http `deflate`, that being a deflate stream wrapped with zlib, not a\nraw deflate stream! (many implementations have made this mistake)\n\n## Building with xcaddy\n\n```shell\nxcaddy build \\\n  --with github.com/rushiiMachine/caddy-deflate\n```\n\n## Samples\n\nThe [encode](https://caddyserver.com/docs/caddyfile/directives/encode) directive will have a new format\nnamed `deflate`.\\\nValid compression levels are listed\n[here](https://github.com/klauspost/compress/blob/0836a1cac5461da096074c0125c507f1b3fc0fdb/flate/deflate.go#L17-L31)\notherwise any value in the range `[0-9]`.\n\n```caddyfile\n:80 {\n    encode deflate\n    file_server\n}\n```\n\nor\n\n```caddyfile\n:80 {\n    # Use multiple compressors\n    encode deflate gzip zstd\n\n    file_server\n}\n```\n\nor\n\n```caddyfile\n:80 {\n    encode {\n        # Configure the compression level\n        deflate 4\n        \n        # Configure another backup compressor\n        gzip\n    }\n\n    file_server\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frushiimachine%2Fcaddy-deflate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frushiimachine%2Fcaddy-deflate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frushiimachine%2Fcaddy-deflate/lists"}