imgio icon indicating copy to clipboard operation
imgio copied to clipboard

Use the same expiration rules than the original server.

Open guillermo opened this issue 13 years ago • 1 comments

If the original server support expiration times, copy that times in the resulting image. If the original server support e-tags, copy that e-tags from client to server.

guillermo avatar Oct 20 '11 14:10 guillermo

Well, at the moment I won't. While support for these could probably be useful, I don't need them at the moment.

  • ETags are of litte use here, as they would need a request to the originating server, and the idea behind this is just to not send that many requests.
  • where I am using it right now, this piece must be able to work with "misconfigured" servers. I do know, that images there never change, so expiration time support wins me nothing, whether or not it is configured properly.

But if you or someone else wants to lend a hand I will happily merge it in.

radiospiel avatar Oct 20 '11 17:10 radiospiel