Strong and Weak Validation
The ETag mechanism supports both strong validation and weak validation. They are distinguished by the presence of an initial "W/" in the ETag identifier, as:
"123456789" -- A strong ETag validator W/"123456789" -- A weak ETag validatorA strongly validating ETag match indicates that the content of the two resources is byte-for-byte identical and that all other entity fields (such as Content-Language) are also unchanged. Strong ETags permit the caching and reassembly of partial responses, as with byte-range requests.
A weakly validating ETag match only indicates that the two resources are semantically equivalent, meaning that for practical purposes they are interchangeable and that cached copies can be used. However the resources are not necessarily byte-for-byte identical, and thus weak ETags are not suitable for byte-range requests. Weak ETags may be useful for cases in which strong ETags are impractical for a web server to generate, such as with dynamically-generated content.
Read more about this topic: HTTP ETag
Famous quotes containing the words strong and, strong and/or weak:
“Royalty is a government in which the attention of the nation is concentrated on one person doing interesting actions. A Republic is a government in which that attention is divided between many, who are all doing uninteresting actions. Accordingly, so long as the human heart is strong and the human reason weak, Royalty will be strong because it appeals to diffused feeling, and Republics weak because they appeal to the understanding.”
—Walter Bagehot (18261877)
“Man is by nature a pragmatic materialist, a mechanic, a lover of gadgets and gadgetry; and these are qualities that characterize the establishment which regulates modern society: pragmatism, materialism, mechanization, and gadgetry. Woman, on the other hand, is a practical idealist, a humanitarian with a strong sense of noblesse oblige, an altruist rather than a capitalist.”
—Elizabeth Gould Davis (b. 1910)
“But God hath chosen the foolish things of the world to confound the wise; and God hath chosen the weak things of the world to confound the things which are mighty.”
—Bible: New Testament I Corinthians 1:27.