
























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