graphbrainz/src/extensions/cover-art-archive/prologue.md
Brian Beck 898ec78a6f Add a schema extension API and several extensions (#42)
* Add a schema extension API and several extensions
* Update graphql-markdown to use new diffSchema function
* Update Node support
2017-10-19 01:00:21 -07:00

605 B

This extension uses its own cache, separate from the MusicBrainz loader cache.

Configuration

This extension can be configured using environment variables:

  • COVER_ART_ARCHIVE_BASE_URL: The base URL at which to access the Cover Art Archive API. Defaults to http://coverartarchive.org/.
  • COVER_ART_ARCHIVE_CACHE_SIZE: The number of items to keep in the cache. Defaults to GRAPHBRAINZ_CACHE_SIZE if defined, or 8192.
  • COVER_ART_ARCHIVE_CACHE_TTL: The number of seconds to keep items in the cache. Defaults to GRAPHBRAINZ_CACHE_TTL if defined, or 86400000 (one day).