{
    "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding",
    "locale": "en",
    "title": "Accept-Encoding: Knowledge hub | DeLaParra Services",
    "description": "Which compression algorithms the client supports for the response body.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/accept-encoding",
        "nl": "https://delaparra-services.nl/nl/kennisbank/accept-encoding"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/accept-encoding.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/accept-encoding.md",
        "json": "https://delaparra-services.nl/knowledge-hub/accept-encoding.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/accept-encoding.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/accept-encoding.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding.csv",
            "encodingFormat": "text/csv",
            "name": "accept-encoding.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding.json",
            "encodingFormat": "application/json",
            "name": "accept-encoding.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding.md",
            "encodingFormat": "text/markdown",
            "name": "accept-encoding.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding.pdf",
            "encodingFormat": "application/pdf",
            "name": "accept-encoding.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding.zip",
            "encodingFormat": "application/zip",
            "name": "accept-encoding.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding/skills.zip",
            "encodingFormat": "application/zip",
            "name": "accept-encoding-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [Accept-Encoding](<https://delaparra-services.nl/knowledge-hub/accept-encoding>)\n\n  \n\nCategory: HTTP headers \n\n# Accept-Encoding\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is Accept-Encoding?\n\n \n\nAccept-Encoding: Which compression algorithms the client supports for the response body. ` Accept-Encoding ` tells the server which compression methods the client understands, such as ` gzip `, ` br ` for Brotli, or ` zstd `. The server compresses the response with one of them and says which in the ` Content-Encoding ` header. Compression makes a large difference for text. HTML, CSS, JavaScript and JSON often shrink to a fifth or less of their original size. That means faster pages, especially on mobile connections, and lower bandwidth costs.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about Accept-Encoding\n\n  \n\n### What should you keep in mind with Accept-Encoding?\n\n \n\nBrowsers send this header automatically, so the work is on the server side. Make sure your web server or CDN compresses text responses, and consider precompressing static files with Brotli at build time, so the server does not compress the same file on every request. Images such as JPEG and WebP are already compressed, so compressing them again only wastes processor time.\n\n    \n\n### What does an example of Accept-Encoding look like?\n\n \n\n```\nAccept-Encoding: gzip, br\n```\n\n \n\n## At a glance\n\n   CategoryHTTP headers Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More HTTP headers terms\n\n \n\n- [Accept](<https://delaparra-services.nl/knowledge-hub/accept>) \n- [Accept-Language](<https://delaparra-services.nl/knowledge-hub/accept-language>) \n- [Access-Control-Allow-Credentials](<https://delaparra-services.nl/knowledge-hub/access-control-allow-credentials>) \n- [Access-Control-Allow-Headers](<https://delaparra-services.nl/knowledge-hub/access-control-allow-headers>) \n- [Access-Control-Allow-Methods](<https://delaparra-services.nl/knowledge-hub/access-control-allow-methods>) \n- [Access-Control-Allow-Origin](<https://delaparra-services.nl/knowledge-hub/access-control-allow-origin>)\n\n \n\n[All terms starting with A](<https://delaparra-services.nl/knowledge-hub#letter-a>)\n\n \n\n## Skills\n\n \n\n- ### HTTP headers review\n\n \n\nUse when reviewing or setting HTTP response headers for a web app or API - security headers (Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), CORS headers, caching headers (Cache-Control, ETag, Last-Modified, Vary) and cookies (Set-Cookie flags). Also use when a security scan reports missing headers.\n\n [View skill](<https://delaparra-services.nl/skills/http-headers-review>) [Download zip](<https://delaparra-services.nl/skills/http-headers-review/download>) \n- ### Chrome DevTools Agent\n\n \n\n'Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.'\n\n [View skill](<https://delaparra-services.nl/skills/chrome-devtools>) [Download zip](<https://delaparra-services.nl/skills/chrome-devtools/download>) \n- ### Laravel OWASP Security\n\n \n\nOWASP Top 10 security audit and secure coding guidelines for Laravel + React/Inertia.js applications. Use when auditing for vulnerabilities (\"run OWASP audit\", \"security review\", \"check my app security\") or writing secure Laravel code involving auth, payments, file uploads, or API design. Triggers on security-related tasks, payment handling, authentication, or any request to audit a Laravel codeba\n\n [View skill](<https://delaparra-services.nl/skills/laravel-owasp-security>) [Download zip](<https://delaparra-services.nl/skills/laravel-owasp-security/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/accept-encoding/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [HTTP headers: security, caching and CORS](<https://delaparra-services.nl/manuals/http-headers-beveiliging-caching-en-cors>) \n- [Reading HTTP status codes and debugging API errors](<https://delaparra-services.nl/manuals/http-statuscodes-en-api-fouten>)\n\n \n\n## Related services\n\n \n\n- [Web design and development](<https://delaparra-services.nl/services#service-01>)\n\nAfter our first meeting, we'll develop a custom solution for a fast, scalable application. \n- [AI code review](<https://delaparra-services.nl/services#service-05>)\n\nWhen you push your new change, I will review your code, help your agent avoid the same mistake again, and get your app ready for deployment.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/accept-encoding)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/accept-encoding#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding",
                "name": "Accept-Encoding: Knowledge hub | DeLaParra Services",
                "description": "Which compression algorithms the client supports for the response body.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/accept-encoding#term",
                    "name": "Accept-Encoding",
                    "description": "Which compression algorithms the client supports for the response body.",
                    "termCode": "accept-encoding",
                    "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding",
                    "inLanguage": "en",
                    "keywords": "HTTP headers",
                    "dateModified": "2026-11-25T17:46:24+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/accept-encoding#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/accept-encoding#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/accept-encoding#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is Accept-Encoding?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Which compression algorithms the client supports for the response body. Accept-Encoding tells the server which compression methods the client understands, such as gzip, br for Brotli, or zstd. The server compresses the response with one of them and says which in the Content-Encoding header. Compression makes a large difference for text. HTML, CSS, JavaScript and JSON often shrink to a fifth or less of their original size. That means faster pages, especially on mobile connections, and lower bandwidth costs."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with Accept-Encoding?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Browsers send this header automatically, so the work is on the server side. Make sure your web server or CDN compresses text responses, and consider precompressing static files with Brotli at build time, so the server does not compress the same file on every request. Images such as JPEG and WebP are already compressed, so compressing them again only wastes processor time."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of Accept-Encoding look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Accept-Encoding: gzip, br"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/http-headers-review#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/chrome-devtools#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/laravel-owasp-security#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/http-headers-beveiliging-caching-en-cors#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/http-statuscodes-en-api-fouten#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/accept-encoding#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "Accept-Encoding"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/accept-encoding#dataset",
                "name": "Accept-Encoding",
                "description": "Which compression algorithms the client supports for the response body.",
                "url": "https://delaparra-services.nl/knowledge-hub/accept-encoding",
                "identifier": "https://delaparra-services.nl/knowledge-hub/accept-encoding#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/accept-encoding#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "HTTP headers",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:24+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "accept-encoding.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/accept-encoding.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "accept-encoding.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/accept-encoding.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "accept-encoding.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/accept-encoding.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "accept-encoding.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/accept-encoding.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "accept-encoding.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/accept-encoding.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "accept-encoding-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/accept-encoding/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}