You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
The source of truth, stored in the form of Imgur albums, comes as a single download of text data from Imgur's API: https://api.imgur.com/models/album
The API first parses the entirety of this data to get all tag data, then returns that data for use in all methods, regardless of the size of the data requested. (for example, if the most recent tag is requested, it will process all tag images before it searches for the most recent tag -- because it cannot know what the most recent is without reading in all tags first)
Options for changing the source of truth include:
a JSON database that holds this data and is cached somewhere.
Store the hash of the most recently posted biketag in sanity.
Create a database for BikeTags to enable more atomic interactions with the data.
The text was updated successfully, but these errors were encountered:
Describe the problem
The source of truth, stored in the form of Imgur albums, comes as a single download of text data from Imgur's API: https://api.imgur.com/models/album
The API first parses the entirety of this data to get all tag data, then returns that data for use in all methods, regardless of the size of the data requested. (for example, if the most recent tag is requested, it will process all tag images before it searches for the most recent tag -- because it cannot know what the most recent is without reading in all tags first)
Options for changing the source of truth include:
The text was updated successfully, but these errors were encountered: