Easily restore your project to a previous version with our new Instant One-click Backup Recovery

Improvements to the new High-performance Endpoint

With the launch of significant improvements, we are replacing our existing endpoint with the new and improved High-performance endpoint for the Content API.
Shahan Syed

Written by Shahan

Aug 29, 2023
A visual representation of Hygraph's distributed cache

As API performance is critical to ensuring an enhanced experience for your audience, at the end of 2022, we started working on a new approach to edge caching and introduced our new high-performance endpoint for the content API.

Over the past few months, we have introduced significant improvements to the new endpoint, which included model-and-stage based partial cache invalidations.

We have now launched another major improvement to the new endpoint; our popular and unique GraphQL Mutations, which was previously only available on the regular endpoint.

The launch of GraphQL Mutations for the new high-performance endpoint, along with partial cache invalidations makes it our most advanced endpoint yet. We've also received great feedback about the new endpoint from the community and have planned several improvements to it for the future iterations.

Therefore, we have decided to replace the old endpoint with the new and improved high-performance endpoint. This is likely to happen by the end of Q1 2025.

Graphic_ Deprecating the old cache.png

To switch to the new endpoint, go to project settings > API Access. Copy the URL under the high-performance content API, and replace it with the existing endpoint in your frontend application.

In this article, we will further explain how the new endpoint is better than the previous one.

#How is the new endpoint better?

It's faster

The new endpoint provides low latency and high read-throughput. Hence, applications load faster for your end-users, which leads to improved engagement and user satisfaction.

Offers model-and-stage-based partial cache invalidations

The new endpoint offers model-and-stage-based partial cache invalidations. Further granular partial cache invalidations will be released later this year.

Since the entire cache is not invalidated, content is more often served from the cache than the origin, which leads to a higher cache hit ratio. As a result, downstream applications load much faster.

All of this is offered without any code changes on your end.

Supports both read-and-write operations

The new endpoint now supports our powerful GraphQL Mutations.

#Timelines

The old endpoint will no longer be accessible on new projects.

We will deprecate the old endpoint on existing projects by the end of Q1 2025. Please make sure to replace the old endpoint with the new one wherever it is used.

Feel free to share your thoughts on our community channel or reach out to us for assistance if needed.

Blog Author

Shahan Syed

Shahan Syed

Shahan is the Product Marketing Manager at Hygraph. Living in Pakistan, he loves to spend time exploring places, pencil sketching, reading, and watching science fiction and K-dramas.

Share with others

Sign up for our newsletter!

Be the first to know about releases and industry news and insights.