Questions tagged [etag]

ETag is an HTTP Entity Tag. Use this tag if you have a question about HTTP requests using ETag, If-Match or If-None-Match headers, or the generation and comparison of ETag values.

An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL. If the resource content at that URL ever changes, a new and different ETag is assigned. Used in this manner ETags are similar to fingerprints, and they can be quickly compared to determine if two versions of a resource are the same or not.

http://en.wikipedia.org/wiki/HTTP_ETag

624 questions
0
votes
1 answer

How do i know if eTags are turned on or off on the Server in PHP?

Form this question ( ETag vs Header Expires ) i understood that i need both Expire headers and eTag headers because they serve two different purpose. Since i'm working on a Wordpress plugin i don't know how the server will be configured and so i was…
Nicola Peluchetti
  • 76,206
  • 31
  • 145
  • 192
0
votes
1 answer

Etags keep changing. How do I control them?

In my scenario, I have an aspx page which has links to some .js files. What I have observed is that, some times my browser returns a 200 response even though I have added the following settings in my web.config
tusharmath
  • 10,622
  • 12
  • 56
  • 83
-1
votes
1 answer

Express server automatically added a weak ETAG

I wrote a simple Express node.js server to test out some HTTP caching stuff. const express = require('express') const serveStatic = require('serve-static') const path = require('path') const app = express() app.use(serveStatic('build', { …
Joji
  • 4,703
  • 7
  • 41
  • 86
-1
votes
2 answers

Angular Cannot get ETag header from HttpEvent header

I'm trying to read the ETag HTTP header returned by a PUT to AWS S3 but it's not available in the Angular typescript (it is in the browser HTTP response). I have added it to the ExposeHeaders CORS and it is returned in the…
butigy
  • 11
  • 4
-1
votes
1 answer

Nginx Inode Information Leakage

I came across a word in the Burp Suite response section that I had never seen or noticed before. ETag. I did some research on what this was, but unfortunately I couldn't understand anything because I was not knowledgeable in the theoretical part of…
-1
votes
2 answers

How do I set a custom ETag value in a Rails controller response?

For one controller (only), I'd like to use an ETag value generated outside of rails caching logic, and manage 304-vs-200 responses myself. It seems that nothing I do to set the ETag header works: response.etag = myEtag headers['ETag'] =…
Paul Roub
  • 36,322
  • 27
  • 84
  • 93
-2
votes
1 answer

While applying etag on the server response, should we not send etag for the responses with status as 4xx or 5xx?

I am applying etag for all the responses but want to know whether to apply etag for the responses with status 4xx or 5xx
-2
votes
1 answer

apache cache settings to get 200 or 304 as appropriate

I am running Apache 2.4.18 on Ubuntu (single server machine). I didn't make any changes to the default settings as far as cache headers are concerned (no cache-related change to /etc/apache2/apached2.conf, no .htaccess files). My understanding is…
M Katz
  • 5,098
  • 3
  • 44
  • 66
-2
votes
2 answers

Etags used in RESTfull APIs are commonly described as hashes

So I've read a few articles about using Etags in RESTfull APIs and the vast majority of them say the Etag header should be a hash of the resource/entity/object, this seams wasteful. Using a hash: A request comes in with a given Etag, the resource…
Metalstorm
  • 2,940
  • 3
  • 26
  • 22
1 2 3
41
42