Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache the result of validating schemas #170

Closed
istreeter opened this issue Oct 30, 2021 · 1 comment
Closed

Cache the result of validating schemas #170

istreeter opened this issue Oct 30, 2021 · 1 comment

Comments

@istreeter
Copy link
Contributor

The client's check method always validates the schema against jsonschema v4 before checking the data is valid against the schema. For a high volume application, with a small number of schemas, this means we are performing the same validation over and over again. We are already using caching in this lib, so makes sense to also cache this validation result.

@istreeter
Copy link
Contributor Author

This got implemented via #207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant