@asciidoctor/core
    Preparing search index...

    Class MemoryHttpCache

    In-memory HTTP cache.

    Stores successful responses as ArrayBuffers keyed by URI. On a cache hit a synthetic Response is reconstructed from the stored data without touching the network. Non-OK responses (4xx, 5xx) are never cached.

    Safe as an ephemeral per-conversion cache or as a longer-lived process-level cache when registered via HttpCacheManager.setCache().

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Fetch content from a URI, optionally from a cache.

      Parameters

      • uri: any

      Returns Promise<any>