Skip to content

Conversation

gajdusek
Copy link
Contributor

Pimcore limits caching to a maximum of 50 items per request. For large GraphQL queries, this limit can easily be exceeded because every object loaded during query resolution is added to the cache queue with priority 0. When the queue is truncated, only the top 50 items (by priority) are retained.

This commit increases the priority of the final GraphQL query result, ensuring this is more likely to be cached despite the 50-item limit.

Pimcore limits caching to a maximum of 50 items per request. For large
GraphQL queries, this limit can easily be exceeded because every object
loaded during query resolution is added to the cache queue with priority 0.
When the queue is truncated, only the top 50 items (by priority) are
retained.

This commit increases the priority of the final GraphQL query result,
ensuring this is more likely to be cached despite the 50-item limit.
Copy link

@ghost ghost added the External label Jan 20, 2025
@ghost ghost added the Pimcore:ToDo label Mar 27, 2025
@herbertroth herbertroth changed the base branch from 1.x to 2.x April 7, 2025 13:09
@ghost ghost assigned robertSt7 Apr 9, 2025
@robertSt7 robertSt7 added this to the 2.0.0 milestone Apr 10, 2025
@robertSt7
Copy link
Contributor

@gajdusek Could you please resolve the conflicts? Thanks

@fashxp fashxp modified the milestones: 2.0.0, 2.1.0 Apr 18, 2025
@robertSt7 robertSt7 modified the milestones: 2.1.0, 2.2.0 Jun 30, 2025
@fashxp
Copy link
Member

fashxp commented Aug 25, 2025

can't be merged anymore

@fashxp fashxp closed this Aug 25, 2025
@fashxp fashxp removed this from the 2.2.0 milestone Aug 25, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants