Does nothing - as it should, image that is thumb does not get modified before served to client.
Hovewer, each time served, it reloads in browser, cache is ignored doh it is from same loc, same name, no changing link parameters.
Note that there are HTTP header fields that the browser interprets.
Some code somewhere has got to build the response containing headers, which, among other things tell the browser is image data and whether or not it can be cached. These headers will be followed by the binary jpg image data.
Img of firefox, where refresh/cache does not work, attached. Seems it receives max-age header, but that has no effect.
STASTUS: '200 OK' should be '304 Not modified'
Any idea on that ?
Code could be optimized, but it works. Just important things here.
If you write to client, Etag (UUID of image), you will get it back in form of request Header "If-None-Match"
Tested on FireFox.
Code could be optimized, but it works. Just important things here.
If you write to client, Etag (UUID of image), you will get it back in form of request Header "If-None-Match"
Very interesting fix. I have never used that header. I'm giving you a cow for coming back with the solution. It's bound to help someone else in the future.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
a bit of art, as a gift, the permaculture playing cards