Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@envelop/validation-cache

Package Overview
Dependencies
Maintainers
1
Versions
1528
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envelop/validation-cache

This plugins adds simple LRU caching to your `validate`, to improve performance by caching the validation result.

  • 7.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
153K
decreased by-10.26%
Maintainers
1
Weekly downloads
 
Created

What is @envelop/validation-cache?

@envelop/validation-cache is a plugin for GraphQL that provides caching for validation results. This can significantly improve the performance of GraphQL servers by avoiding redundant validation of the same queries.

What are @envelop/validation-cache's main functionalities?

Validation Caching

This feature allows you to cache the results of GraphQL query validations. By using the `useValidationCache` plugin, you can avoid re-validating the same queries, thus improving performance.

const { envelop } = require('@envelop/core');
const { useValidationCache } = require('@envelop/validation-cache');

const getEnveloped = envelop({
  plugins: [
    useValidationCache(),
  ],
});

Other packages similar to @envelop/validation-cache

FAQs

Package last updated on 16 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc