<s>
The	O
ETag	O
or	O
entity	B-Protocol
tag	I-Protocol
is	O
part	O
of	O
HTTP	B-Protocol
,	O
the	O
protocol	O
for	O
the	O
World	O
Wide	O
Web	O
.	O
</s>
<s>
It	O
is	O
one	O
of	O
several	O
mechanisms	O
that	O
HTTP	B-Protocol
provides	O
for	O
Web	B-Protocol
cache	I-Protocol
validation	O
,	O
which	O
allows	O
a	O
client	O
to	O
make	O
conditional	O
requests	O
.	O
</s>
<s>
ETags	O
can	O
also	O
be	O
used	O
for	O
optimistic	B-Operating_System
concurrency	I-Operating_System
control	I-Operating_System
to	O
help	O
prevent	O
simultaneous	O
updates	O
of	O
a	O
resource	O
from	O
overwriting	O
each	O
other	O
.	O
</s>
<s>
Used	O
in	O
this	O
manner	O
,	O
ETags	O
are	O
similar	O
to	O
fingerprints	B-Algorithm
and	O
can	O
quickly	O
be	O
compared	O
to	O
determine	O
whether	O
two	O
representations	O
of	O
a	O
resource	O
are	O
the	O
same	O
.	O
</s>
<s>
The	O
use	O
of	O
ETags	O
in	O
the	O
HTTP	B-Protocol
header	O
is	O
optional	O
(	O
not	O
mandatory	O
as	O
with	O
some	O
other	O
fields	O
of	O
the	O
HTTP	B-Protocol
1.1	I-Protocol
header	O
)	O
.	O
</s>
<s>
The	O
method	O
by	O
which	O
ETags	O
are	O
generated	O
has	O
never	O
been	O
specified	O
in	O
the	O
HTTP	B-Protocol
specification	O
.	O
</s>
<s>
Common	O
methods	O
of	O
ETag	O
generation	O
include	O
using	O
a	O
collision-resistant	O
hash	B-Error_Name
function	I-Error_Name
of	O
the	O
resource	O
's	O
content	O
,	O
a	O
hash	B-Error_Name
of	O
the	O
last	O
modification	O
timestamp	O
,	O
or	O
even	O
just	O
a	O
revision	B-Architecture
number	I-Architecture
.	O
</s>
<s>
Some	O
earlier	O
checksum	B-Algorithm
functions	O
that	O
were	O
weaker	O
than	O
CRC32	O
or	O
CRC64	O
are	O
known	O
to	O
suffer	O
from	O
hash	B-Error_Name
collision	O
problems	O
.	O
</s>
<s>
Strong	O
ETags	O
permit	O
the	O
caching	O
and	O
reassembly	O
of	O
partial	O
responses	O
,	O
as	O
with	O
byte-range	B-Protocol
requests	I-Protocol
.	O
</s>
<s>
However	O
,	O
the	O
resource	O
representations	O
are	O
not	O
necessarily	O
byte-for-byte	O
identical	O
,	O
and	O
thus	O
weak	O
ETags	O
are	O
not	O
suitable	O
for	O
byte-range	B-Protocol
requests	I-Protocol
.	O
</s>
<s>
In	O
typical	O
usage	O
,	O
when	O
a	O
URL	O
is	O
retrieved	O
,	O
the	O
Web	O
server	O
will	O
return	O
the	O
resource	O
's	O
current	O
representation	O
along	O
with	O
its	O
corresponding	O
ETag	O
value	O
,	O
which	O
is	O
placed	O
in	O
an	O
HTTP	B-Protocol
response	O
header	O
"	O
ETag	O
"	O
field	O
:	O
</s>
<s>
If	O
the	O
ETag	O
values	O
match	O
,	O
meaning	O
that	O
the	O
resource	O
has	O
not	O
changed	O
,	O
the	O
server	O
may	O
send	O
back	O
a	O
very	O
short	O
response	O
with	O
a	O
HTTP	B-Protocol
304	I-Protocol
Not	I-Protocol
Modified	I-Protocol
status	O
.	O
</s>
<s>
ETags	O
can	O
be	O
used	O
to	O
track	O
unique	O
users	O
,	O
as	O
HTTP	B-Application
cookies	I-Application
are	O
increasingly	O
being	O
deleted	O
by	O
privacy-aware	O
users	O
.	O
</s>
<s>
In	O
July	O
2011	O
,	O
Ashkan	O
Soltani	O
and	O
a	O
team	O
of	O
researchers	O
at	O
UC	O
Berkeley	O
reported	O
that	O
a	O
number	O
of	O
websites	O
,	O
including	O
Hulu	B-Application
,	O
were	O
using	O
ETags	O
for	O
tracking	O
purposes	O
.	O
</s>
<s>
Hulu	B-Application
and	O
KISSmetrics	O
have	O
both	O
ceased	O
"	O
respawning	O
"	O
as	O
of	O
29	O
July	O
2011	O
,	O
as	O
KISSmetrics	O
and	O
over	O
20	O
of	O
its	O
clients	O
are	O
facing	O
a	O
class-action	O
lawsuit	O
over	O
the	O
use	O
of	O
"	O
undeletable	O
"	O
tracking	O
cookies	B-Application
partially	O
involving	O
the	O
use	O
of	O
ETags	O
.	O
</s>
<s>
Because	O
ETags	O
are	O
cached	O
by	O
the	O
browser	O
and	O
returned	O
with	O
subsequent	O
requests	O
for	O
the	O
same	O
resource	O
,	O
a	O
tracking	O
server	O
can	O
simply	O
repeat	O
any	O
ETag	O
received	O
from	O
the	O
browser	O
to	O
ensure	O
an	O
assigned	O
ETag	O
persists	O
indefinitely	O
(	O
in	O
a	O
similar	O
way	O
to	O
persistent	O
cookies	B-Application
)	O
.	O
</s>
<s>
ETags	O
may	O
be	O
flushable	O
by	O
clearing	O
the	O
browser	B-Protocol
cache	I-Protocol
(	O
implementations	O
vary	O
)	O
.	O
</s>
