{"library":"ng-http-caching","type":"library","category":null,"description":"NgHttpCaching is an Angular library designed to cache HTTP requests, preventing redundant server calls for the same data. It operates as an HTTP interceptor, automatically caching responses and serving them for subsequent identical requests. The current stable version is 21.0.10, closely aligning with Angular's major version releases (indicated by peer dependency versions and the default cache invalidation strategy). Key differentiators include built-in handling for simultaneous/parallel requests, an automatic garbage collector for cache entries, support for various storage mechanisms (LocalStorage, SessionStorage, MemoryStorage, or custom), and intelligent cache invalidation based on `Cache-Control`/`Expires` headers or automatically for mutation requests (POST, PUT, DELETE, PATCH). It offers granular configuration for cache lifetime, allowed HTTP methods, and custom cache strategies, making it a flexible solution for optimizing network performance in Angular applications.","language":"javascript","status":"active","version":"21.0.10","tags":["javascript","angular","cache","interceptor","network","http","client","http-client","header","typescript"],"install":[{"cmd":"npm install ng-http-caching","imports":["import { provideNgHttpCaching } from 'ng-http-caching';","import { NgHttpCachingConfig } from 'ng-http-caching';","import { NgHttpCachingInterceptor } from 'ng-http-caching';"]},{"cmd":"yarn add ng-http-caching","imports":[]},{"cmd":"pnpm add ng-http-caching","imports":[]}],"homepage":"https://ngneat.github.io/ng-http-caching","github":"https://github.com/nigrosimone/ng-http-caching","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ng-http-caching","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ng-http-caching/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}