
























Fetch named export to create a Fetch instance that does not automatically fetch data and works with the concurrency queue. Use async queue() to fetch data.import { Fetch } from "@11ty/eleventy-fetch"; let inst = Fetch(source, options); let data = await inst.queue();
same as:
import CachedFetch from "@11ty/eleventy-fetch"; let data = await CachedFetch(source, options);
wasLastFetchCacheHit() on Fetch instances, used to solve bug with Eleventy Image disk cache 11ty/image#146fetch or file system read calls.Full Changelog: v5.0.1...v5.0.2-beta.1
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。