Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Quell is an easy-to-use, lightweight JavaScript library providing a client- and server-side caching solution for GraphQL. Use Quell to prevent redundant client-side API requests and to minimize costly server-side response latency.

License

NotificationsYou must be signed in to change notification settings

SebastienFauque/Quell

 
 

Repository files navigation

License: MITAppVeyorAppVeyorcontributions welcome

Quell

Quell is an easy-to-use, lightweight JavaScript library providing a client- and server-side caching solution and cache invalidation for GraphQL.

Accelerated byOS Labs and developed byJinhee Choi,Nayan Parmar,Tashrif Sanil,Tim Frenzel,Robleh Farah,Angela Franco,Ken Litton,Thomas Reeder,Andrei Cabrera,Dasha Kondratenko,Derek Sirola,Xiao Yu Omeara,Nick Kruckenberg,Mike Lauri,Rob Nobile andJustin Jaeger.

Features

  • Cache Invalidation implemented in server-side for (add, update, and delete) mutation service newly implemented
  • Client-side caching utilizing LokiJS
  • Server-side caching utilizing a configurable Redis in-memory data store with batching
  • Automatic unique cache key generation
  • Partial and exact match query caching
  • Programmatic rebuilding of GraphQL queries to fetch only the minimum data necessary to complete the response based upon current cache contents

Installation

Quell is divided into two npm packages:

  • Download @quell/client from npm in your terminal withnpm i @quell/client
  • Download @quell/server from npm in your terminal withnpm i @quell/server

Installing and Connecting a Redis Server

If not already installed on your server, install Redis.

  • Mac-Homebrew:
    • At the terminal, typebrew install redis
    • After installation completes, typeredis-server
    • Your server should now have a Redis database connection open (note the port on which it is listening)
  • Linux or non-Homebrew:
    • Download appropriate version of Redis fromredis.io/download
    • Follow installation instructions
    • Once Redis is successfully installed, follow instructions to open a Redis database connection (note the port on which it is listening)

Usage Notes

  • Currently, Quell can cache 1) query-type requests without variables or directives and 2) mutation-type requests (add, update, and delete) with cache invalidation implemented. Quell will still process other requests, but will not cache the responses.

Documentation

Contribute to Quell

Interested in making a contribution to Quell?Click for our open-source contribution guidelines.

Thank you for your interest and support!Team Quell

About

Quell is an easy-to-use, lightweight JavaScript library providing a client- and server-side caching solution for GraphQL. Use Quell to prevent redundant client-side API requests and to minimize costly server-side response latency.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript100.0%

[8]ページ先頭

©2009-2025 Movatter.jp