Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
49 views

I am exploring the dio_cache_interceptor package in Flutter. This package provides logic for implementing caching and handling the HTTP Status Code 304. While testing this package I tested a ...
ayush's user avatar
  • 696
1 vote
1 answer
312 views

I have express.js based server and working on implementing etag HTTP header. So, I find out express has already etag and 304 status code implementation enabled. I was going through the code as found ...
Gourav Aggarwal's user avatar
0 votes
0 answers
143 views

I have a Rails application on cloud run with an endpoint called by our apps to determine if their version is current and if not, requires a download. This is a simple, one record read of the database ...
Daniel McCarty's user avatar
0 votes
1 answer
2k views

When i try to run my vite project using npm run dev I get blank white page. There is no elements or consoles can be seen. I could see status code (304) not modified. -Tried clearing browser cache. -...
callmeniyu's user avatar
2 votes
1 answer
78 views

I am trying to understand the behaviour of cache headers and response codes. Initially I have an express application that looks like this: app.get("/users-a", async (req, res) => { ...
dwjohnston's user avatar
  • 12.5k
0 votes
1 answer
159 views

Initial data: there is a web server with nginx version 1.18.0 as the frontend and php-fpm version 7.4 as the backend. I need absolutely all requests for php pages to be transferred from nginx to php-...
user24236542's user avatar
0 votes
1 answer
762 views

I am trying to get my Angular website approved for Google Adsense. For this, I used an ads.txt file which I have placed in the src folder inside our Angular app e.g. src/ads.txt. However, after few ...
Vaibhaav Sharrma's user avatar
0 votes
0 answers
438 views

I created an Angular frontend and a .Net backend, API call from my Angular client that was initially working has stopped working. The only change I made was change the structure of the object sent to ...
Jcide's user avatar
  • 431
2 votes
0 answers
298 views

When I'm Running my code in localhost the revalidation is working fine. But when I hosted my project on Vercel the page is revalidating for a certain time but when I reload or refresh the previously ...
Nikhil Bolla's user avatar
2 votes
0 answers
296 views

i'm a little stuck how to handle "NOT-MODIFIED" answers from a remote resource. Using Spring WebClient i fetch a remote resource (json) and want to prevent unneeded calls or better: working ...
KaiN's user avatar
  • 21
0 votes
0 answers
541 views

I am working on MERN project, and I am using RTK Query to handle requests and caching. I keep getting 304 status code when I make a request from React, but 200 when it is through Postman. Furthermore, ...
Bello Shehu's user avatar
1 vote
0 answers
101 views

Briefly, I have created a server using nodeJS. I have installed 'morgan' for the logger. When I render my front-end everything works, my website can be accessed, RU (registered users) can book, ... ...
RunTimeError31415's user avatar
0 votes
1 answer
47 views

i have this form that sends some info and a picture in it but when i submit it it did not do anything and fails with "[HTTP/1.1 304 Not Modified 1ms]" I have another form that do exactly the ...
Lina Gonza's user avatar
1 vote
1 answer
1k views

I'm looking to do some multithreading for my web application to improve performance and I've stumbled upon a head-scratcher. I'm currently developing on localhost (vite server) on Chrome. Basically I ...
Pete's user avatar
  • 668
3 votes
1 answer
196 views

Does/should server code run when the server return status code 304? I understand that the server should not return anything (client should use the cache), but I cant find any info on whether the ...
tobbe's user avatar
  • 1,815
3 votes
1 answer
3k views

I built a Next-app on the frontend and deployed it on Vercel (and a Django-app on the backend deployed on Heroku). Authentication is implemented with JWTs and and a Next-API route connecting the Next-...
Daniel's user avatar
  • 1,071
1 vote
1 answer
827 views

It is unclear whether my RESTful CORS responses are ever retrieved from the cache. They all had the 200 status code but never 304; even though there is no change in the request, the response, and the ...
Stephen Isienyi's user avatar
0 votes
1 answer
330 views

I am working on a POST HTTP API which does not modify or create any state on the server. The API is implemented with method POST as it needs to accept multiple complex inputs which would not be ...
Sumit Jain's user avatar
  • 1,538
1 vote
1 answer
5k views

I have a get request in my Redux Async Thunk. After calling get to my node.js express server it sends a 304 status code, for some reason I can't get my data. const userTokenAxios = axios.create({ ...
Dylan L.'s user avatar
  • 1,319
0 votes
1 answer
2k views

I want to have a /status page that returns a 200 status code. I create a route along with a page, however when I access it I see a 304 code as the response. Any ideas how I can set the route to just ...
userMod2's user avatar
  • 9,050
2 votes
2 answers
372 views

Thought I would start here before going to the rails team. After uploading an attachment and redirecting back to the page to see it, or navigating to the page normally to see it, it briefly displays ...
Chris A.'s user avatar
  • 303
2 votes
0 answers
932 views

I am new in react, I developed application and it is deployed on server but now getting errors as Uncaught SyntaxError: expected expression, got '<' Also in bundle.js and other build js files ...
Lucky's user avatar
  • 369
2 votes
1 answer
1k views

I have a Next.js API deployed on Vercel. The API is used by multiple other domains. When the browser send the If-None-Match header, Vercel can reply with a 304; however, the Access-Control-Allow-...
Luze26's user avatar
  • 45
0 votes
1 answer
5k views

I got those error in my react js project server, by the way in the local i have no error everythink working fine, but in the server there is a empty page displayed after click in button, and when i ...
Imen's user avatar
  • 43
0 votes
1 answer
345 views

Let us say we have an API that retrieves user-specific data. For some reason, I don't want the server to send data back to clients every time is the data is unchanged. For example, I have a mobile app....
echo's user avatar
  • 1,740
1 vote
1 answer
2k views

I have a PHP CMS as an upstream/origin server that serves content. It is placed behind a Nginx web server configured as a reverse proxy cache with proxy_pass and proxy_cache. While implementing 304 ...
mentinet's user avatar
  • 784
0 votes
0 answers
622 views

I have a node JS backend and it is returning status code 304 when answering the first request I make to that backend each time I restart my application. I have read about status code 304 and ...
João Dias's user avatar
1 vote
0 answers
439 views

I've been trying to tackle this problem more than 2 weeks now. Everything works fine in development mode. But not in production mode. The example below are shown using Redux Saga environment (I'm ...
lala's user avatar
  • 1,439
2 votes
0 answers
2k views

I'm using Next.js custom server, which by default sends strong ETag header on each page GET request. For each request I also manually add Cache-Control header res.setHeader('Cache-Control', 'public, ...
Andrew Belyi's user avatar
1 vote
0 answers
283 views

I have some CSS like this: background-image: url('/img/high/logo.png'),url('/img/low/logo.png'); Intermittently, on Firefox on PC for sure, the image doesn't display. My debugging has led me to ...
Ben Holness's user avatar
  • 2,744
1 vote
1 answer
117 views

I'm trying to doing a basic GET request from ReactJS app to a Node.js API, but I'm getting a response with status 304. I need get a 200 status to save the response of GET in a variable. (Im running ...
FRANCISCO IGNACIO ALFARO's user avatar
6 votes
5 answers
4k views

I have a website with static assets that don't change (js, images, etc). Each of these assets has the cache-control header set with the following property: cache-control: public, max-age=31536000, ...
tomciopp's user avatar
  • 2,832
1 vote
0 answers
2k views

I'm making an application with expressjs as backend and reactjs as frontend. During the development I used proxy in package.json for sending and receiving requests. And now I'm about to deploly the ...
MoeezShahid's user avatar
1 vote
1 answer
475 views

So, this is a strange one. I am running a Nodejs application using Express and Pug. I have all my static files in a Public folder and my Pug files in the Views folder. I set up the app.js file to grab ...
Alexander Ditto's user avatar
0 votes
1 answer
389 views

So I have a very strange issue going on here, First time the page loads it doesn't load any Google Fonts or the Icon font pack from the wordpress theme Divi. The content returns a 304 status code. ...
Travis's user avatar
  • 2,255
3 votes
1 answer
2k views

I am building a frontend and backend application. Using If none match header in the request, my server is returning 304 status but chrome always shows 200 status. Same implementation works well with ...
amit kumar's user avatar
0 votes
1 answer
2k views

We have switched from HTTP1.1 to HTTP2 protocol and have noticed that some requests fail. When a server responds with 204 or 304 we get the following error: TypeError: Network request failed Chrome ...
Ilya Chernomordik's user avatar
0 votes
0 answers
328 views

I am working on cache issue on my website and I am really confused by ETag. Please have a look at request and response headers of style.css: Request headers: Accept text/css,*/*;q=0.1 Accept-...
hd.'s user avatar
  • 18.4k
2 votes
1 answer
489 views

I am inspecting a Rails response. No http headers have been purposefully set to be returned from the server. The response includes Cache-Control: max-age=0, private, must-revalidate and Etag. The ...
Loading...'s user avatar
1 vote
0 answers
362 views

I think it is not possible, but I will ask experienced people for advice. Imagine the situation: A client send a request to get a content A, i.e. www.server.com/content/1. A server process the ...
myska's user avatar
  • 11
1 vote
1 answer
1k views

I am using nginx version 1.10.3 to serve files to browser. In my server logs I am seeing response body on 304 response. How to avoid that? Nginx log: "GET /test/testfile.js HTTP/1.1" 304 2476 "-" "...
Sathya's user avatar
  • 233
9 votes
2 answers
777 views

I have some users not being able to access some templates on my angularjs application when my server responds with status code 304. Angularjs is logging [$compile:tpload] as you can see bellow and the ...
adolfosrs's user avatar
  • 9,389
1 vote
1 answer
327 views

See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching#Freshness when the cache receives a request for a stale resource, it forwards this request with a If-None-Match to check if it is in ...
Maarten Bruins's user avatar
0 votes
1 answer
91 views

In our application, we have some pages where xsl transformation are happening using activex object Microsoft.XMLDOM. Its a legacy application, so there is not much scope for any changes. Example: <...
Suvi's user avatar
  • 66
0 votes
0 answers
428 views

I am using NGINX load balancer. When we load our web page, one of the javascript resources giving "HTTP/1.1 304 Not Modified" string at end of the file. I checked the resources(js file) in the ...
Sathya's user avatar
  • 233
10 votes
2 answers
4k views

Might be a silly question, but I haven't found any clear answer yet. My server handles ETag caching for some quite big JSON responses we have, returning 304 NOT MODIFIED with an empty body if the If-...
sp00m's user avatar
  • 49k
1 vote
0 answers
137 views

I have a rest api that serves images. Each url will always return the same file, eg: https://example.com/rest/file/organisation/table/1234.jpg. However the actual files do not reside under the www ...
minisaurus's user avatar
  • 1,196
0 votes
1 answer
2k views

d3 is currently on v5, but I need to use v3. I am trying two ways to access v3: Including <script src="https://d3js.org/d3.v3.min.js"></script> in my HTML tag. Including <script src="...
brienna's user avatar
  • 1,654
0 votes
1 answer
1k views

I am using varnish to speed up a customer's website load time. I have a problem with the images on a page. The Images on a page are not shown on the page. here is the chrome output headers when I hit ...
Sinai's user avatar
  • 650
0 votes
2 answers
986 views

I am confused why I am getting this: GET /api/v1/changelog/json 304 50.967 ms - - It looks like the browser is caching the result...but this a JSON request, that should never be cached. I guess I ...
Alexander Mills's user avatar