wmo-im / wis2-notification-message

WIS 2.0 MQP message to notify users of availability of new data
https://wmo-im.github.io/wis2-notification-message
2 stars 2 forks source link

Add optional cache-duration attribute to notification message. #71

Open 6a6d74 opened 11 months ago

6a6d74 commented 11 months ago

A WIS Node may indicate that a resource should be cached for a period other than 24-hours. A cache-duration attribute would allow that to be specified for a given resource. In absence of this attribute, the duration should default to 24-hours.

Also see Indicate to Global Caches how long a resource should be cached for.

tomkralidis commented 7 months ago

I am guessing that this (put forth as an ISO 8601 duration) would be best placed in the canonical link, which is what the GC would be locking on for download. For discussion at the next TT-WISMD meeting on 2024-01-30.

tomkralidis commented 7 months ago

TT-WISMD 2024-01-30:

kaiwirt commented 7 months ago

I am not sure if i remember correctly, but i think at the Washington Meeting it was decided to start with 24h as default and the option to add the possibility for different retention times later, if required.

My question would be: Is there a requirement for different retention times other than 24h?

The WIS2-Guide draft currently says: "A Global Cache shall retain the data and metadata they receive for a minimum period of 24 hours. Requirements relating varying retention times for different types of data may be added later."