Use the internal fetch implementation, useful for hooking into the same shared local fetch cache.
import { fetch } from '@jspm/generator';const res = await fetch(url);console.log(await res.text());
Use the { cache: 'no-store' } option to disable the cache, and the { cache: 'force-cache' } option to enforce the offline cache.
{ cache: 'no-store' }
{ cache: 'force-cache' }
Generated using TypeDoc
Use the internal fetch implementation, useful for hooking into the same shared local fetch cache.
Use the
{ cache: 'no-store' }
option to disable the cache, and the{ cache: 'force-cache' }
option to enforce the offline cache.