Content Review

Vocabulary content as an evolution of thesauri and code lists from major science fields, do not change often. In fact many sets of data (vocabularies) are released bi-anually! This is important to know, as it affects the patterns (deployment and content caching) valid for those specific endpoints.

Now that we know the update cycle, we can add content caching with specific cache validity, and client specific validity tagging (ETags, Cache-Control, and Expiry headers).

Access Review

From the server logs on our existing SISSVoc 3 services, IGC Timescale(s) [all of them], and the old sissvoc services, the most common access requests are:
  • resource?uri
  • conceptscheme
  • concept?anylabel={text} and concept?labelcontains={text}
and from the old service
  • allConcepts

The others dont really rate a mention.

Implications

Summing up vocabulary services:
  • Promote the other resources (like the vocab in a file!)
  • Use a content cache which can hash on URL and Accept header (check out "Vary: Accept-Encoding")
  • Content Cache for as long as possible - provided you can destroy the cache
  • Set Client side headers to reduce the re-request (Cache-Control smax age or Expiry headers)

-- TerryRankine - 29 Aug 2012
Topic revision: r3 - 04 Dec 2012, TerryRankine
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).