wp-graphql / acf.wpgraphql.com

https://acf.wpgraphql.com
1 stars 1 forks source link

feat: multiple queries per template #61

Closed jasonbahl closed 5 months ago

jasonbahl commented 5 months ago

This implements the new Template.queries approach supported by FaustJS.

SEE:

Benefits

This is beneficial as it means each query is responsible for fewer nodes and will be invalidated more precisely.

Now, instead of querying for Menus, Global Settings and the posts or post archive data all in one query, these queries can be separated into their own responsibilities and take advantage of better caching / cache invalidation via WPGraphQL Smart Cache.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
acf-wpgraphql-com ✅ Ready (Inspect) Visit Preview Jan 23, 2024 1:13am
atlas-by-wp-engine[bot] commented 5 months ago

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
acf.wpgraphql.com preview-env-feat/multiple-queries-per-template https://hi…wered.com :white_check_mark: (logs)

Learn more about preview environments in our documentation.