Hi Jonah.
Caching on download.eclipse.org (and archive.eclipse.org) was
done under the (apparently incorrect) assumption that content is
added but not frequently changed.
I believe files are cached for no more than 10 minutes.
In your CI build, you can use the http header X-Cache-Bypass:
true to bypass the front-line cache. The header should also
trigger a refresh.
wget -S --header="X-Cache-Bypass: true"
https://download.eclipse.org/tools/cdt/releases/9.8/compositeArtifacts.xml
Denis
On 2019-07-03 1:50 p.m., Jonah Graham
wrote:
Hi folks,
Is there any documentation on how
download.eclipse.org
caches compositeArtifacts.xml and compositeContent.xml?
I am having a problem that even though I update both of
those files at the same time from my CI job, the servers seem
to serve different age versions of those two files[1]. This
means that depending on which one updates first means that
Eclipse can find an update available, but not be able to
install them because artefacts are not available.
From within the browser I can see that at the moment
compositeContent.xml returns 200 OK when bypassing cache,
and 304 Not Modified when doing a normal load. But as far as
I can tell, the file being served is not the file on disk.
Thanks,
Jonah
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev
_______________________________________________