Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 2.2 KB

README.md

File metadata and controls

50 lines (37 loc) · 2.2 KB

Fast ⚡ reverse proxy in front of any GraphQL server for caching, securing and monitoring.

Unit Tests codecov Go Report Card Go Reference Artifact Hub

Features

  • 💾 Caching
    • RFC7234 compliant HTTP Cache.
    • Cache query operations results through types.
    • Auto invalidate cache through mutation operations.
    • Swr query results in background.
    • Cache query results to specific headers, cookies (varies).
  • 🔐 Securing
    • Disable introspection.
    • Limit operations depth, nodes and complexity.
  • 📈 Monitoring (Prometheus metrics)
    • Operations in flight.
    • Operations count.
    • Operations request durations.
    • Operations caching statuses.

How it works

Every single request sent by your clients will serve by GBox. The GBox reverse proxy will cache, validate, and collect metrics before pass through requests to your GraphQL server.

Diagram

Documentation

The GBox documentation can be browsed on Github page.

Inspiration

The GBox has been inspired by many others related work including:

Thanks to all the great people who created these projects!