It is important to know if you are setting If-None-Match or If-Match ? Based on my experience, most users rely on the modification date and GET If-Modified-Since .
ETag is stronger if you need a cache flag for a given object with several encodings, etc.
For your requirement, use Modified / If-Modified-C , and you don't need encoding-based variable caching, and this should work.
Additional Information: HttpWebResponse LastModified
Avkashchauhan
source share