Main Content

Etag in http headers - what is it?

Archive - Originally posted on "The Horse's Mouth" - 2007-10-03 08:30:34 - Graham Ellis

If you've ever looked at the headers you receive back from your web server, you may have noticed an Etag. What is it?

An Etag is an "entity tag" and it provides a unique identifier for the resource being supplied. Browser requests can use an etag and an if-match header to check whether a resource has been modified since it was served, providing an efficient caching facility that relies on content rather than on timeouts.