/CacheIQL

CacheIQL is an efficient JavaScript library designed to optimize GraphQL performance through intelligent caching, effectively minimizing redundant API requests resulting in heavily reduced response time. With our easy-to-use implementation, CacheIQL provides the developer with enhanced application speed and efficiency through a seamless experience.

Primary LanguageTypeScript

Screenshot 2024-11-26 at 6 14 03 PM

CacheIQL

cacheiql is an efficient JavaScript library designed to optimize GraphQL performance through intelligent caching, effectively minimizing redundant API requests resulting in heavily reduced response time. With our easy-to-use implementation, CacheIQL provides the developer with enhanced application speed and efficiency through a seamless experience.

Installation

CacheIQL Client & CacheIQL Server

CacheIQL is split into two npm packages:

-Install cacheiql/client from npm using the terminal command npm i cacheiql-client
-Install cacheiql/server from npm using the terminal command npm i cacheiql-server

Features

  • server-side caching through implementation of a local Redis instance
  • client-side caching through implementation of localStorage
  • effective mutation handling through cache invalidation
  • custom fetch and caching 'CacheIt' function
  • implementation of request deduplication through the use of caching initial user query response objects
  • code maintainability through integration of TypeScript with strict typing, effectively reducing runtime errors
  • iteration upon GraphQL's field-level fetching as well as query batching to optimize speed upon initial query retrieval

Documentation

CLIENT README
SERVER README

Thank you for your interest in our tool!
-CacheIQL Team

Contributors

Through the help of OS Labs , developed by Vasean Annin, Gabriella Davoudpour , George German, Pedram Kashani , and Chris Matzen