Sunday, 15 September 2013

NodeJS/express: Cache and 304 status code

NodeJS/express: Cache and 304 status code

When I reload a website made with express, I get a blank page with Safari
(not with Chrome) because the NodeJS server sends me a 304 status code.
How to solve this?
Of course, this could also be just a problem of Safari, but actually it
works on all other websites fine, so it has to be a problem on my NodeJS
server, too.
To generate the pages, I'm using Jade with res.render.

No comments:

Post a Comment