[rfc][icedtea-web] clean Cache
Omair Majid
omajid at redhat.com
Mon Aug 18 20:50:05 UTC 2014
* Lukasz Dracz <ldracz at redhat.com> [2014-08-18 16:43]:
> I was also wondering if someone had an idea on how we should handle
> the case of updating jars when no last-modified http header is
> provided. At the moment it re-downloads the jars even though it
> doesn't really need to. I have attached a patch (noLastModified.patch)
> that works by when checking if the file isCurrent with no
> last-modified http header is provided as true resulting in not needing
> to re-download the jars. Another way I was thinking about fixing this
> is that if you are not re-downloading the jnlp as is the case on
> http://files.gokgs.com/javaBin/cgoban.jnlp then the jars don't need to
> be updated. Any thoughts ?
I am not sure if it answers your questions, but http/1.1 introduced a
number of improvements to caching:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html
Maybe those should be used (if applicable)?
Thanks,
Omair
--
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
More information about the distro-pkg-dev
mailing list