{
    "url": "https://delaparra-services.nl/knowledge-hub/cache-control",
    "locale": "en",
    "title": "Cache-Control: Knowledge hub | DeLaParra Services",
    "description": "The dominant caching directive. Controls how/whether responses are cached by browsers, CDNs, and proxies.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/cache-control",
        "nl": "https://delaparra-services.nl/nl/kennisbank/cache-control"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/cache-control.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/cache-control.md",
        "json": "https://delaparra-services.nl/knowledge-hub/cache-control.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/cache-control.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/cache-control.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/cache-control.csv",
            "encodingFormat": "text/csv",
            "name": "cache-control.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/cache-control.json",
            "encodingFormat": "application/json",
            "name": "cache-control.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/cache-control.md",
            "encodingFormat": "text/markdown",
            "name": "cache-control.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/cache-control.pdf",
            "encodingFormat": "application/pdf",
            "name": "cache-control.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/cache-control.zip",
            "encodingFormat": "application/zip",
            "name": "cache-control.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/cache-control/skills.zip",
            "encodingFormat": "application/zip",
            "name": "cache-control-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [Cache-Control](<https://delaparra-services.nl/knowledge-hub/cache-control>)\n\n  \n\nCategory: HTTP headers \n\n# Cache-Control\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is Cache-Control?\n\n \n\nCache-Control: The dominant caching directive. Controls how/whether responses are cached by browsers, CDNs, and proxies. ` Cache-Control ` tells browsers, CDNs and proxies whether and how long they may store a response. ` max-age=3600 ` means one hour. ` no-store ` means do not keep it at all. ` public ` and ` private ` decide whether shared caches may store it.\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 Cache-Control\n\n  \n\n### How is Cache-Control used in practice?\n\n \n\nFor static assets with a version in the file name, such as ` app-3f9a2c.js `, use ` public, max-age=31536000, immutable `. The file never changes under that name, so browsers can keep it for a year.\n\n    \n\n### What should you keep in mind with Cache-Control?\n\n \n\nHTML pages need shorter lifetimes, or ` no-cache ` with revalidation, so visitors see updates quickly. Pages that show personal data should be ` private ` or ` no-store `, so a shared cache never serves one user's account page to another. Getting these headers right is one of the cheapest performance improvements a site can make.\n\n    \n\n### What does an example of Cache-Control look like?\n\n \n\n```\nCache-Control: public, max-age=31536000, immutable\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- [Access-Control-Allow-Origin](<https://delaparra-services.nl/knowledge-hub/access-control-allow-origin>) \n- [Access-Control-Max-Age](<https://delaparra-services.nl/knowledge-hub/access-control-max-age>) \n- [Authorization](<https://delaparra-services.nl/knowledge-hub/authorization>) \n- [Content-Length](<https://delaparra-services.nl/knowledge-hub/content-length>) \n- [Content-Security-Policy](<https://delaparra-services.nl/knowledge-hub/content-security-policy>) \n- [Content-Type](<https://delaparra-services.nl/knowledge-hub/content-type>)\n\n \n\n[All terms starting with C](<https://delaparra-services.nl/knowledge-hub#letter-c>)\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- ### API Design Principles\n\n \n\nMaster REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.\n\n [View skill](<https://delaparra-services.nl/skills/api-design-principles>) [Download zip](<https://delaparra-services.nl/skills/api-design-principles/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/cache-control/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\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- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.\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/cache-control)\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/cache-control#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/cache-control",
                "name": "Cache-Control: Knowledge hub | DeLaParra Services",
                "description": "The dominant caching directive. Controls how/whether responses are cached by browsers, CDNs, and proxies.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/cache-control#term",
                    "name": "Cache-Control",
                    "description": "The dominant caching directive. Controls how/whether responses are cached by browsers, CDNs, and proxies.",
                    "termCode": "cache-control",
                    "url": "https://delaparra-services.nl/knowledge-hub/cache-control",
                    "inLanguage": "en",
                    "keywords": "HTTP headers",
                    "dateModified": "2026-11-25T17:46:25+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/cache-control#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/cache-control#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/cache-control#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is Cache-Control?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "The dominant caching directive. Controls how/whether responses are cached by browsers, CDNs, and proxies. Cache-Control tells browsers, CDNs and proxies whether and how long they may store a response. max-age=3600 means one hour. no-store means do not keep it at all. public and private decide whether shared caches may store it."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "How is Cache-Control used in practice?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "For static assets with a version in the file name, such as app-3f9a2c.js, use public, max-age=31536000, immutable. The file never changes under that name, so browsers can keep it for a year."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with Cache-Control?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "HTML pages need shorter lifetimes, or no-cache with revalidation, so visitors see updates quickly. Pages that show personal data should be private or no-store, so a shared cache never serves one user's account page to another. Getting these headers right is one of the cheapest performance improvements a site can make."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of Cache-Control look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Cache-Control: public, max-age=31536000, immutable"
                        }
                    }
                ],
                "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/api-design-principles#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/http-headers-beveiliging-caching-en-cors#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/cache-control#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": "Cache-Control"
                    }
                ]
            },
            {
                "@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/cache-control#dataset",
                "name": "Cache-Control",
                "description": "The dominant caching directive. Controls how/whether responses are cached by browsers, CDNs, and proxies.",
                "url": "https://delaparra-services.nl/knowledge-hub/cache-control",
                "identifier": "https://delaparra-services.nl/knowledge-hub/cache-control#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/cache-control#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:25+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": "cache-control.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/cache-control.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "cache-control.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/cache-control.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "cache-control.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/cache-control.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "cache-control.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/cache-control.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "cache-control.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/cache-control.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "cache-control-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/cache-control/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:25+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}