Skip to Content.
Sympa Menu

shibboleth-dev - Feature request for metadatatool

Subject: Shibboleth Developers

List archive

Feature request for metadatatool


Chronological Thread 
  • From: Lukas Haemmerle <>
  • To:
  • Subject: Feature request for metadatatool
  • Date: Wed, 23 Nov 2005 12:47:56 +0100
  • Organization: SWITCH - The Swiss Education and Research Network

Situation:
IdP or SP periodically update their metadata from a central web server
because the file changes several times a day. Let's say every hour. The
metadata file is rather large (> 100kB). Many SPs and IdPs do that.

Problem:
Central web server gets hammered with requests because Metadatatool
downloads metadata with each request, even if nothing changed. This
wastes not only resources (mainly bandwidth) on that web server but also
on the IdP/SP side.

Solution:
Metadata tool could compare the local file's size and timestamp with
that of the file on the web server by asking the web server with a HEAD
request for the 'Last-Modified' parameter. Metadatatool then only would
download the metadata file (and set its modification date to the one of
the web server's metadata file) if at least one of these parameters differ.

Of course one could write a wrapper arround metadatatool and e.g. use
curl -I http://file.to/metadata.xml to do that but it would nevertheless
be nice if there was an option for the metadatatool that would allow the
above out of the box.

What do you think?

Best Regards
Lukas

--
------- SWITCH - The Swiss Education & Research Network ------
Lukas Haemmerle NetServices http://www.switch.ch/
SWITCH, Neumuehlequai 6, P.O. Box, CH-8021 Zurich, Switzerland

Tel: +41 44 268 15 64 Fax: +41 44 253 98 98



Archive powered by MHonArc 2.6.16.

Top of Page