Home > Topics

๐Ÿ’พ๐ŸŒ Static APIs

topics-static-apis
Under certain circumstances, it can be beneficial to replace servers hosting a web API with a pre-generated set of data hosted as static files.
Iโ€™ve seen this idea bare fruit at work in the past and Iโ€™m about to apply the trick again in a new context.
Does this pattern have a name?
Iโ€™d like to reference some literature on the topic while planning this project but Iโ€™m struggling to find much source material.
After a few searches, groping in the dark for key words, I came across the term static API. This is an apt label for the pattern, but the sparsity of search results has me wondering if thereโ€™s a more common name for this pattern.

A few blog articles come up in web searches:

Similar concepts:

  • caching
  • memoization
  • precomputation
  • static site generation

๐Ÿ˜ Mastodon

Post by @bagrounds@mastodon.social
View on Mastodon