1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [ETag](<https://delaparra-services.nl/knowledge-hub/etag>)

  

Category: HTTP headers 

# ETag

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is ETag?

 

ETag: An opaque token identifying the resource version. Used with If-None-Match for conditional GETs. An ` ETag ` is a version identifier the server sends with a response, such as ` ETag: "a1b2c3" `. When the resource changes, the ETag changes too. On the next request, the browser sends the value back in ` If-None-Match `. If the resource has not changed, the server replies ` 304 Not Modified ` with no body, and the browser uses its cached copy. That saves bandwidth while still checking for updates.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about ETag

  

### What should you keep in mind with ETag?

 

ETags are also useful for safe updates in APIs. A client sends ` If-Match ` with the ETag it last saw. If someone else changed the resource in the meantime, the server refuses with ` 412 Precondition Failed ` instead of silently overwriting their work. Make sure ETags are consistent across servers behind a load balancer, or caching will break.

    

### What does an example of ETag look like?

 

```
ETag: "abc123"
```

 

## At a glance

   CategoryHTTP headers Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More HTTP headers terms

 

- [Content-Security-Policy](<https://delaparra-services.nl/knowledge-hub/content-security-policy>) 
- [Content-Type](<https://delaparra-services.nl/knowledge-hub/content-type>) 
- [Cookie](<https://delaparra-services.nl/knowledge-hub/cookie>) 
- [Expires](<https://delaparra-services.nl/knowledge-hub/expires>) 
- [If-Match](<https://delaparra-services.nl/knowledge-hub/if-match>) 
- [If-Modified-Since](<https://delaparra-services.nl/knowledge-hub/if-modified-since>)

 

[All terms starting with E](<https://delaparra-services.nl/knowledge-hub#letter-e>)

 

## Skills

 

- ### HTTP headers review

 

Use 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.

 [View skill](<https://delaparra-services.nl/skills/http-headers-review>) [Download zip](<https://delaparra-services.nl/skills/http-headers-review/download>) 
- ### Chrome DevTools Agent

 

'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.'

 [View skill](<https://delaparra-services.nl/skills/chrome-devtools>) [Download zip](<https://delaparra-services.nl/skills/chrome-devtools/download>) 
- ### API Design Principles

 

Master 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.

 [View skill](<https://delaparra-services.nl/skills/api-design-principles>) [Download zip](<https://delaparra-services.nl/skills/api-design-principles/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/etag/skills.zip>)

 

## Manuals

 

- [HTTP headers: security, caching and CORS](<https://delaparra-services.nl/manuals/http-headers-beveiliging-caching-en-cors>)

 

## Related services

 

- [Web design and development](<https://delaparra-services.nl/services#service-01>)

After our first meeting, we'll develop a custom solution for a fast, scalable application. 
- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)

Perhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.

 

## Need any help?

 

Stuck 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.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/etag)
