etag Questions

2

Solved

Does anyone know how the minio etag is generated when you PUT an object? Is it a hash of the file and can we use it to prevent uploading the same file twice? Many thanks!
Primero asked 24/6, 2020 at 12:28

3

Many REST APIs provide the ability to search for resources. For example, resources of type A may be fetched using the following HTTP request: GET /A?prop1={value1}&prop2={value2} I'm using ...
Shinn asked 14/2, 2015 at 18:10

4

What is the best way to implement the following scenario in a React Native app? Make an HTTP request to the server, get a JSON response and an ETag header. Save this JSON response in a way that w...
Alternation asked 10/5, 2017 at 9:5

6

I'm trying to do requests to my REST API, I have no problems with Firefox, but in Chrome I can't get the browser to work, always throws 200 OK, because no if-none-match (or similar) header is sent ...
Tamathatamaulipas asked 29/3, 2014 at 16:51

2

Solved

Does NSURLCache transparently handle ETags received by server? I mean: does it automatically store ETags for each URL request and then send the appropriate If-None-Match when a request to the same...
Nogas asked 9/2, 2014 at 13:43

4

Solved

Where should I store the ETag for a given resource? Approach A: compute on the fly Get the resource and compute the ETag on the fly upon each request: $resource = $repository->findByPK($id); ...
Catie asked 21/8, 2012 at 6:48

3

Solved

I'm generating dynamic content with PHP. I'm sending the following HTTP-header: HTTP/1.1 304 Not Modified Date: Sun, 09 Dec 2012 17:24:41 GMT Server: Apache Connection: keep-alive, Keep-Alive Kee...
Toomer asked 9/12, 2012 at 17:34

4

I have a file in my webserver and I am downloading that to my app everytime I access it because its possible that file content might be changed But If it is changed I would like to download that ti...
Darwinism asked 24/2, 2016 at 16:44

4

Solved

I've recently migrated all views in one of my Django projects to the new class-based ones. For classic function-based Django views there's a handy decorator django.views.decorators.http.condition t...
Balky asked 21/10, 2012 at 0:42

8

Solved

I've looked around but haven't been able to figure out if I should use both an ETag and an Expires Header or one or the other. What I'm trying to do is make sure that my flash files (and other ima...
Melcher asked 1/2, 2009 at 1:12

4

Solved

This is basically the opposite of fetch(), how do you make a non-cached request?. Let's say we have client-side: <div onclick="fetch('/data.php').then(r => r.text()).then(s => console...
Extant asked 7/8, 2022 at 22:36

5

Solved

When does a browser NOT make a request to the server for a file? In other words, I have a JavaScript file being served. Its HTTP response header has an ETag, Cache-Control: public, and Expires: Tu...
Sonatina asked 2/10, 2014 at 17:43

2

Solved

The recommended way to handle optimistic locking in a RESTful interface seems to be by returning an ETag from the GET, and supplying an If-Match on the PUT, ie: GET /items/1 --> gives client an...
Serve asked 23/3, 2012 at 10:47

4

Solved

Even though I send "cache-control: must-revalidate" Google Chrome uses a locally cached page when using the back and forth button in the browser. This is part of the original response: HTTP/1.1 2...
Trull asked 23/4, 2013 at 15:26

2

Expressjs automatically send etags. I would like to know how the etag is generated..is it based on the content that is generated dynamically by the get routine. or is there way I can mainpulate it,...
Breadboard asked 3/7, 2014 at 0:2

2

Solved

How do you implemented etags inside a PHP file? What do I upload to the server and what do I insert into my PHP file?
Breedlove asked 2/11, 2012 at 14:43

3

Solved

I have a site (e.g. http://example.com) that uses Cloudflare. Nothing special, no weird page rules, no weird settings, free plan. When I go to http://example.com, I get this response for the GET h...
Opportuna asked 26/6, 2016 at 1:59

1

As per the RFC and MDN docs, ETag value is required to be enclosed in double quotes "<Value>". When I make a request using CURL with the Accept-Encoding header as gzip, deflate, br,...
Tutuila asked 8/3, 2021 at 16:12

3

Maybe I'm overlooking something simple and obvious here, but here goes: So one of the features of the Etag header in a HTTP request/response it to enforce concurrency, namely so that multiple clie...
Grady asked 23/12, 2015 at 3:13

7

Solved

How do I generate an ETag HTTP header for a resource file?
Cannoneer asked 7/8, 2008 at 8:45

3

Solved

Given a file being returned as part of a http request. What is the correct method of creating an ETag for that file? http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19 I have seen it...
Karlsbad asked 13/10, 2011 at 5:13

3

Solved

I've been stuck in caching hell for the past couple of days and while I'm starting to get it still struggling a little bit. Desired Result I want to include a JS file on a site and have it cached...
Taunt asked 27/6, 2019 at 3:46

3

Solved

So I'm creating an ultra optimized site, and my page load speed with https://developers.google.com/speed/pagespeed/ is 99 (out of 100). The only thing keeping me away from full hundred is this: ...
Both asked 29/6, 2013 at 16:28

2

Solved

Definition of ETag header (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag): The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches...
Gurl asked 6/3, 2019 at 14:53

2

Solved

The Github API specifies two headers that can be used in Conditional Requests, Last-Modified and ETag. Which is the more reliable when querying the API? For context: when using the api endpoint GE...
Emrich asked 21/1, 2015 at 5:18

© 2022 - 2025 — McMap. All rights reserved.