{"id":13417837,"url":"https://github.com/11ty/eleventy-fetch","last_synced_at":"2026-04-01T17:49:15.284Z","repository":{"id":42372152,"uuid":"257086647","full_name":"11ty/eleventy-fetch","owner":"11ty","description":"Utility to cache any remote asset: Image, Video, Web Font, CSS, JSON, etc","archived":false,"fork":false,"pushed_at":"2026-03-13T20:40:57.000Z","size":268,"stargazers_count":164,"open_issues_count":11,"forks_count":22,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-03-17T18:27:17.689Z","etag":null,"topics":["cache","eleventy","fetch"],"latest_commit_sha":null,"homepage":"https://www.11ty.dev/docs/plugins/fetch/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/11ty.png","metadata":{"funding":{"open_collective":"11ty","github":"11ty"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-04-19T19:39:04.000Z","updated_at":"2026-03-13T20:40:53.000Z","dependencies_parsed_at":"2024-01-11T20:41:43.624Z","dependency_job_id":"100a9f24-b325-4049-adc4-a5f10c221704","html_url":"https://github.com/11ty/eleventy-fetch","commit_stats":{"total_commits":125,"total_committers":11,"mean_commits":"11.363636363636363","dds":"0.44799999999999995","last_synced_commit":"b51e55eaf938a7654d79b2f006ca964be3741b3b"},"previous_names":["11ty/eleventy-cache-assets"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/11ty/eleventy-fetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/11ty%2Feleventy-fetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/11ty%2Feleventy-fetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/11ty%2Feleventy-fetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/11ty%2Feleventy-fetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/11ty","download_url":"https://codeload.github.com/11ty/eleventy-fetch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/11ty%2Feleventy-fetch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","eleventy","fetch"],"created_at":"2024-07-30T22:00:53.626Z","updated_at":"2026-04-01T17:49:15.266Z","avatar_url":"https://github.com/11ty.png","language":"JavaScript","funding_links":["https://opencollective.com/11ty","https://github.com/sponsors/11ty"],"categories":["others","What Do I Use...","Plugins\u003c!-- Z-A --\u003e"],"sub_categories":["If I want to cache API requests?","More starters"],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://www.11ty.dev/img/logo-github.svg\" width=\"200\" height=\"200\" alt=\"eleventy Logo\"\u003e\u003c/p\u003e\n\n# eleventy-fetch\n\n_Requires Node 18+_\n\nFormerly known as [`@11ty/eleventy-cache-assets`](https://www.npmjs.com/package/@11ty/eleventy-cache-assets).\n\nFetch network resources and cache them so you don’t bombard your API (or other resources). Do this at configurable intervals—not with every build! Once per minute, or once per hour, once per day, or however often you like!\n\nWith the added benefit that if one successful request completes, you can now work offline!\n\nThis plugin can save any kind of asset—JSON, HTML, images, videos, etc.\n\n## [The full `eleventy-fetch` documentation is on 11ty.dev](https://www.11ty.dev/docs/plugins/cache/).\n\n- _This is a plugin for the [Eleventy static site generator](https://www.11ty.dev/)._\n- Find more [Eleventy plugins](https://www.11ty.dev/docs/plugins/).\n- Please star [Eleventy on GitHub](https://github.com/11ty/eleventy/), follow [@eleven_ty](https://twitter.com/eleven_ty) on Twitter, and support [11ty on Open Collective](https://opencollective.com/11ty)\n\n[![npm Version](https://img.shields.io/npm/v/@11ty/eleventy-fetch.svg?style=for-the-badge)](https://www.npmjs.com/package/@11ty/eleventy-fetch) [![GitHub issues](https://img.shields.io/github/issues/11ty/eleventy-fetch.svg?style=for-the-badge)](https://github.com/11ty/eleventy/issues)\n\n## Installation\n\n```\nnpm install @11ty/eleventy-fetch\n```\n\n_[The full `eleventy-fetch` documentation is on 11ty.dev](https://www.11ty.dev/docs/plugins/cache/)._\n\n## Tests\n\n```\nnpm run test\n```\n\n- We use the [ava JavaScript test runner](https://github.com/avajs/ava) ([Assertions documentation](https://github.com/avajs/ava/blob/master/docs/03-assertions.md))\n- ℹ️ To keep tests fast, thou shalt try to avoid writing files in tests.\n\n\u003c!--\n## Roadmap\n\n* Add support for tiered asset requests, e.g. CSS requests background-images and web fonts, for example.\n\n## Open Questions\n\n* `flat-cache` save method seems to be synchronous, is there a better async one?\n* Our cache stores raw buffers internally, which are pretty bloated compared to the original. Surely there is a more efficient way to do this. Maybe store the files in their original format.\n--\u003e\n\n## Community Roadmap\n\n- [Top Feature Requests](https://github.com/11ty/eleventy-fetch/issues?q=label%3Aneeds-votes+sort%3Areactions-%2B1-desc+label%3Aenhancement) (Add your own votes using the 👍 reaction)\n- [Top Bugs 😱](https://github.com/11ty/eleventy-fetch/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions-%2B1-desc) (Add your own votes using the 👍 reaction)\n- [Newest Bugs 🙀](https://github.com/11ty/eleventy-fetch/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F11ty%2Feleventy-fetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F11ty%2Feleventy-fetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F11ty%2Feleventy-fetch/lists"}