{ "@context": "https://schema.org", "@id": "https://webspecification.com/spec/performance/conditional-requests.jsonld", "@graph": [ { "@type": "TechArticle", "@id": "https://webspecification.com/spec/performance/conditional-requests/#article", "headline": "Conditional requests (ETag, Last-Modified, 304)", "description": "Send a validator — ETag or Last-Modified — on every cacheable response, and honour If-None-Match / If-Modified-Since so unchanged resources return an empty 304 instead of the full body.", "url": "https://webspecification.com/spec/performance/conditional-requests/", "inLanguage": "en", "isPartOf": { "@type": "WebSite", "@id": "https://webspecification.com/#website", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "author": { "@type": "Person", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "publisher": { "@type": "Organization", "@id": "https://webspecification.com/#organization", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "license": "https://creativecommons.org/licenses/by/4.0/", "dateModified": "2026-06-09T11:00:00.000Z", "citation": [ { "@type": "CreativeWork", "name": "RFC 9110 §13 — Conditional Requests", "url": "https://www.rfc-editor.org/rfc/rfc9110#section-13", "publisher": { "@type": "Organization", "name": "IETF" } }, { "@type": "CreativeWork", "name": "RFC 9110 §8.8 — Validator Fields (ETag, Last-Modified)", "url": "https://www.rfc-editor.org/rfc/rfc9110#section-8.8", "publisher": { "@type": "Organization", "name": "IETF" } }, { "@type": "CreativeWork", "name": "MDN — HTTP conditional requests", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Conditional_requests", "publisher": { "@type": "Organization", "name": "MDN" } }, { "@type": "CreativeWork", "name": "MDN — 304 Not Modified", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/304", "publisher": { "@type": "Organization", "name": "MDN" } } ] }, { "@type": "BreadcrumbList", "@id": "https://webspecification.com/spec/performance/conditional-requests/#breadcrumb", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://webspecification.com/" }, { "@type": "ListItem", "position": 2, "name": "Spec", "item": "https://webspecification.com/spec/" }, { "@type": "ListItem", "position": 3, "name": "Performance", "item": "https://webspecification.com/spec/performance/" }, { "@type": "ListItem", "position": 4, "name": "Conditional requests (ETag, Last-Modified, 304)", "item": "https://webspecification.com/spec/performance/conditional-requests/" } ] } ] }