A zero-dependency, signal-native caching layer for Angular 21+ with stale-while-revalidate for resource().
ziflux is a lightweight caching library designed specifically for Angular 21+ applications. It provides stale-while-revalidate (SWR) semantics for Angular's built-in resource() function, enabling instant navigations, background data refreshes, and a smoother user experience by eliminating spinners on return visits.
cachedMutation handles snapshot, mutate, and rollback-on-error lifecycle in just a few lines.resource() with no external dependencies.cachedResource() and cachedMutation() reduce boilerplate.ziflux focuses solely on adding caching semantics to Angular's resource() — nothing more, nothing less. It embraces Angular's native signals and keeps the API surface minimal to reduce learning curve and maintenance overhead.
ziflux is an open-source alternative to the following products:
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.