An open API service indexing awesome lists of open source software.

https://github.com/oslabs-beta/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.
https://github.com/oslabs-beta/cacheiql

caching client-side graphql localstorage middleware redis request-deduplication server-side

Last synced: about 1 year ago
JSON representation

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.

Awesome Lists containing this project

README

          

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](https://www.npmjs.com/package/cacheiql-client) from npm using the terminal command `npm i cacheiql-client`

-Install [cacheiql/server](https://www.npmjs.com/package/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](https://github.com/oslabs-beta/CacheIQL/blob/production/cacheiql-client/README.md)

[SERVER README](https://github.com/oslabs-beta/CacheIQL/blob/production/cacheiql-server/README.md)

Thank you for your interest in our tool!

-CacheIQL Team

## Contributors

Through the help of [OS Labs](https://github.com/oslabs-beta) , developed by [Vasean Annin](https://github.com/VaseanAnnin), [Gabriella Davoudpour
](https://github.com/gabyd613), [George German](https://github.com/GeorgeGerman29), [Pedram Kashani ](https://github.com/PedramKashani), and [Chris Matzen](https://github.com/matzec42)