chore {Performance}: Implement models for Blocks
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- graphql, php, wordpress
- Domain
- api, backend, performance
Research direction
Start with issue #378 and the referenced experiment PR to understand the intended WPGraphQL Models approach. Compare the prior art in wp-rest-blocks/src/data.php and snapwp-helper/src/Modules/GraphQL/SchemaFilters.php. Done means block rendering uses models that can be cached and reused, with the intended performance improvement demonstrated.
Written by the indexing model from the issue text.
Description
Overview
See #378
Long term goal is to improve performance of block rendering by creating WPGraphQL Models instead on a field level so blocks can be cached and re-used.
References
- See @justlevine experiment PR - https://github.com/rtCamp/wp-graphql-content-blocks/pull/31
- Prior art from wp-rest-blocks: https://github.com/spacedmonkey/wp-rest-blocks/blob/bafb87a86d723b5ec54440e6fd6feb7fd94d6879/src/data.php#L72
- For caching prior art from snapwp-helper: https://github.com/rtCamp/snapwp-helper/blob/48986fcab24a79cf0cc31514dfff951d2486bc57/src/Modules/GraphQL/SchemaFilters.php#L49-L52
- Dominant language
- PHP
- Stars
- 149
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wpengine/wp-graphql-content-blocks
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
wpengine/wp-graphql-content-blocks#457 · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
wpengine/wp-graphql-content-blocks#376 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
wpengine/wp-graphql-content-blocks#374 · 1 comment · 3 reactions ·
All issues in wpengine/wp-graphql-content-blocks
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100